diff options
Diffstat (limited to 'src/3rdparty/phonon/mmf/videooutput.cpp')
-rw-r--r-- | src/3rdparty/phonon/mmf/videooutput.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/mmf/videooutput.cpp b/src/3rdparty/phonon/mmf/videooutput.cpp index 27e4f54..b1a2b4f 100644 --- a/src/3rdparty/phonon/mmf/videooutput.cpp +++ b/src/3rdparty/phonon/mmf/videooutput.cpp @@ -171,8 +171,10 @@ void MMF::VideoOutput::transparentFill(const QVector<QRect>& rects) // Note: not using the optimised qt_memfill function implemented in // gui/painting/qdrawhelper.cpp - can we somehow link against this? - //qt_memfill(row + x_start, 0U, width); - memset(row + x_start, 0, width*4); + QRgb *ptr = row + x_start; + for(int x = 0; x < width; ++x) + *ptr++ = 0x00000000; + row += row_stride; } } |