Commit b1cc6b94 authored by Limin Wang's avatar Limin Wang

avcodec/mv30: fix warning: suggest braces around initialization of subobject [-Wmissing-braces]

Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent 6f8826e4
......@@ -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);
......
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