summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-05-11 16:34:57 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2016-05-11 16:34:57 +0200
commit27506aceda8115f82f89691a4441d62a8cf24a6e (patch)
tree64bbdcb980a0435f6052f4eb32b5ff724095327a /libavcodec
parentce3037ac8ee7c7fb3e5d2c6e46d51dfecc549cff (diff)
avcodec/dca_lbr: explicitly initialize structs with zero
This fixes build on MSVC and conforms to the usual init style used.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dca_lbr.c2
-rw-r--r--libavcodec/dcadata.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dca_lbr.c b/libavcodec/dca_lbr.c
index 595187c258..81c40e930d 100644
--- a/libavcodec/dca_lbr.c
+++ b/libavcodec/dca_lbr.c
@@ -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 = { 0 };
GetByteContext gb;
diff --git a/libavcodec/dcadata.c b/libavcodec/dcadata.c
index 99e5311991..53be01d1e7 100644
--- a/libavcodec/dcadata.c
+++ b/libavcodec/dcadata.c
@@ -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 */
+ 0 /* empty */
}
};