Commit 27506ace authored by Hendrik Leppkes's avatar Hendrik Leppkes

avcodec/dca_lbr: explicitly initialize structs with zero

This fixes build on MSVC and conforms to the usual init style used.
parent ce3037ac
...@@ -1161,7 +1161,7 @@ int ff_dca_lbr_parse(DCALbrDecoder *s, uint8_t *data, DCAExssAsset *asset) ...@@ -1161,7 +1161,7 @@ int ff_dca_lbr_parse(DCALbrDecoder *s, uint8_t *data, DCAExssAsset *asset)
LBRChunk hr_grid[DCA_LBR_CHANNELS / 2]; LBRChunk hr_grid[DCA_LBR_CHANNELS / 2];
LBRChunk ts1[DCA_LBR_CHANNELS / 2]; LBRChunk ts1[DCA_LBR_CHANNELS / 2];
LBRChunk ts2[DCA_LBR_CHANNELS / 2]; LBRChunk ts2[DCA_LBR_CHANNELS / 2];
} chunk = { }; } chunk = { 0 };
GetByteContext gb; GetByteContext gb;
......
...@@ -8830,7 +8830,7 @@ const uint8_t ff_dca_grid_1_weights[12][32] = { ...@@ -8830,7 +8830,7 @@ const uint8_t ff_dca_grid_1_weights[12][32] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 18, 37, 55, 73, 91, 110, 128, 0, 18, 37, 55, 73, 91, 110, 128,
}, { }, {
/* empty */ 0 /* empty */
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment