[FFmpeg-cvslog] avutil/imgutils: remove dead assignment

Marton Balint git at videolan.org
Thu Aug 22 22:47:41 EEST 2019


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sat Aug 17 15:34:20 2019 +0200| [b2e37e3eb27b97cf8a226ffe716d98a8980d0e3e] | committer: Marton Balint

avutil/imgutils: remove dead assignment

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2e37e3eb27b97cf8a226ffe716d98a8980d0e3e
---

 libavutil/imgutils.c | 1 -
 1 file changed, 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list