]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/magicyuvenc.c
libavcodec/magicyuvenc : fix warning
[ffmpeg] / libavcodec / magicyuvenc.c
index a30922f57077ab595fa48032244f752a97d5b4e2..c784221e1cf0755baac06cfb0e5414a616e2407b 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);