ffmpeg | branch: master | Hendrik Leppkes <h.lepp...@gmail.com> | Wed May 11 16:34:57 2016 +0200| [27506aceda8115f82f89691a4441d62a8cf24a6e] | committer: Hendrik Leppkes
avcodec/dca_lbr: explicitly initialize structs with zero This fixes build on MSVC and conforms to the usual init style used. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27506aceda8115f82f89691a4441d62a8cf24a6e --- libavcodec/dca_lbr.c | 2 +- libavcodec/dcadata.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/dca_lbr.c b/libavcodec/dca_lbr.c index 595187c..81c40e9 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 99e5311..53be01d 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 */ } }; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog