diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index c733cb5cf5..7f9c1b632c 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c @@ -519,7 +519,6 @@ static void memset_bytes(uint8_t *dst, size_t dst_size, uint8_t *clear, if (clear_size == 1) { memset(dst, clear[0], dst_size); - dst_size = 0; } else { if (clear_size > dst_size) clear_size = dst_size;