diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-05-12 23:07:05 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-05-14 09:15:25 +0800 |
commit | b1cc6b9496ee6373f7ef46b825b886ffecc09d92 (patch) | |
tree | 3ac1deb6d4df8beab8c60abc8020955bbc0b8190 /libavcodec/mv30.c | |
parent | 6f8826e4aaddf1ee6cf3f333ed0e392a748382fe (diff) |
avcodec/mv30: fix warning: suggest braces around initialization of subobject [-Wmissing-braces]
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavcodec/mv30.c')
-rw-r--r-- | libavcodec/mv30.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mv30.c b/libavcodec/mv30.c index fed9bcd1e8..7e67133cf7 100644 --- a/libavcodec/mv30.c +++ b/libavcodec/mv30.c @@ -421,7 +421,7 @@ static int decode_intra(AVCodecContext *avctx, GetBitContext *gb, AVFrame *frame for (int y = 0; y < avctx->height; y += 16) { GetByteContext gbyte; - int pfill[3][1] = { 0 }; + int pfill[3][1] = { {0} }; int nb_codes = get_bits(gb, 16); av_fast_padded_malloc(&s->coeffs, &s->coeffs_size, nb_codes * sizeof(*s->coeffs)); @@ -504,7 +504,7 @@ static int decode_inter(AVCodecContext *avctx, GetBitContext *gb, for (int y = 0; y < avctx->height; y += 16) { GetByteContext gbyte; - int pfill[3][1] = { 0 }; + int pfill[3][1] = { {0} }; int nb_codes = get_bits(gb, 16); skip_bits(gb, 8); |