svn path=/trunk/kdenlive/; revision=4692
const int nParts = (drawY ? 1 : 0) + (drawR ? 1 : 0) + (drawG ? 1 : 0) + (drawB ? 1 : 0);
const int nParts = (drawY ? 1 : 0) + (drawR ? 1 : 0) + (drawG ? 1 : 0) + (drawB ? 1 : 0);
+ if (nParts == 0 || byteCount == 0) {
// Nothing to draw
return QImage();
}
// Nothing to draw
return QImage();
}
{
QImage component(256, size.height(), QImage::Format_ARGB32);
component.fill(qRgba(0, 0, 0, 0));
{
QImage component(256, size.height(), QImage::Format_ARGB32);
component.fill(qRgba(0, 0, 0, 0));
+ Q_ASSERT(scaling != INFINITY);
const int partH = size.height();
int partY;
const int partH = size.height();
int partY;