summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-22 20:58:29 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-22 20:58:29 +0200
commitb5853bf8ba41a0fed293a9e6beadec0db1597533 (patch)
treeb8eb9a427ea108563876c42ab63055d1fe5f9741
parent0a8b8ceda0ee88e6c2b85563a7c1315e4e12b0a6 (diff)
ffmpegcolorspace: Fix Y41B->Y444 conversion
...which is the intermediate conversion for conversion to all other formats. Fixes bug #616545.
-rw-r--r--gst/ffmpegcolorspace/imgconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/ffmpegcolorspace/imgconvert.c b/gst/ffmpegcolorspace/imgconvert.c
index dba12db70..12223b346 100644
--- a/gst/ffmpegcolorspace/imgconvert.c
+++ b/gst/ffmpegcolorspace/imgconvert.c
@@ -1869,7 +1869,7 @@ grow41_line (uint8_t * dst, const uint8_t * src, int width)
s1++;
d += 4;
}
- for (; w >= 0; w--) {
+ for (; w > 0; w--) {
d[0] = s1[0];
d++;
}