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++; }