[FFmpeg-cvslog] libavcodec/magicyuvenc : fix warning

Martin Vignali git at videolan.org
Sat Dec 16 15:21:49 EET 2017


ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Sat Oct 28 23:15:23 2017 +0200| [ee2dfa34a25e0c5bf85f464be64e5bc78489abf9] | committer: Martin Vignali

libavcodec/magicyuvenc : fix warning

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

 libavcodec/magicyuvenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/magicyuvenc.c b/libavcodec/magicyuvenc.c
index a30922f570..c784221e1c 100644
--- a/libavcodec/magicyuvenc.c
+++ b/libavcodec/magicyuvenc.c
@@ -337,7 +337,7 @@ static int encode_table(AVCodecContext *avctx, uint8_t *dst,
                         int width, int height,
                         PutBitContext *pb, HuffEntry *he)
 {
-    PTable counts[256] = { 0 };
+    PTable counts[256] = { {0} };
     int i;
 
     count_usage(dst, width, height, counts);



More information about the ffmpeg-cvslog mailing list