On Tue, May 12, 2020 at 11:09:19PM +0800, lance.lmw...@gmail.com wrote:
> From: Limin Wang <lance.lmw...@gmail.com>
> 
> Signed-off-by: Limin Wang <lance.lmw...@gmail.com>
> ---
>  libavcodec/mv30.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/mv30.c b/libavcodec/mv30.c
> index fed9bcd..7e67133 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);
> -- 
> 1.8.3.1
> 

will apply.


-- 
Thanks,
Limin Wang
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to