libavcodec/magicyuvenc : fix warning
authorMartin Vignali <martin.vignali@gmail.com>
Sat, 28 Oct 2017 21:15:23 +0000 (23:15 +0200)
committerMartin Vignali <martin.vignali@gmail.com>
Sat, 16 Dec 2017 13:21:07 +0000 (14:21 +0100)
libavcodec/magicyuvenc.c

index a30922f..c784221 100644 (file)
@@ -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);