summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++;
}