avcodec/dca_lbr: explicitly initialize structs with zero
authorHendrik Leppkes <h.leppkes@gmail.com>
Wed, 11 May 2016 14:34:57 +0000 (16:34 +0200)
committerHendrik Leppkes <h.leppkes@gmail.com>
Wed, 11 May 2016 14:34:57 +0000 (16:34 +0200)
This fixes build on MSVC and conforms to the usual init style used.

libavcodec/dca_lbr.c
libavcodec/dcadata.c

index 595187c258ac931f6b63f79ab482e782f3f7e3b1..81c40e930d639973fb6a0e48068674b3e9e7f8a7 100644 (file)
@@ -1161,7 +1161,7 @@ int ff_dca_lbr_parse(DCALbrDecoder *s, uint8_t *data, DCAExssAsset *asset)
         LBRChunk    hr_grid[DCA_LBR_CHANNELS / 2];
         LBRChunk    ts1[DCA_LBR_CHANNELS / 2];
         LBRChunk    ts2[DCA_LBR_CHANNELS / 2];
-    } chunk = { };
+    } chunk = { };
 
     GetByteContext gb;
 
index 99e5311991d2583b30cde8435787f46c7f6f07fb..53be01d1e766ec4f577a0d361b4db4cff946faa8 100644 (file)
@@ -8830,7 +8830,7 @@ const uint8_t ff_dca_grid_1_weights[12][32] = {
           0,   0,   0,   0,   0,   0,   0,   0,
           0,  18,  37,  55,  73,  91, 110, 128,
     }, {
-        /* empty */
+        /* empty */
     }
 };