From b5853bf8ba41a0fed293a9e6beadec0db1597533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 22 Apr 2010 20:58:29 +0200 Subject: [PATCH] ffmpegcolorspace: Fix Y41B->Y444 conversion ...which is the intermediate conversion for conversion to all other formats. Fixes bug #616545. --- gst/ffmpegcolorspace/imgconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/ffmpegcolorspace/imgconvert.c b/gst/ffmpegcolorspace/imgconvert.c index dba12db704..12223b346a 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++; }