On 5/1/17 7:11 AM, Sean McGovern wrote:
> Bug-Id: 1047
> CC: [email protected]
> ---
>  libavcodec/aacsbr.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c
> index 99f7b08..d9bbe5e 100644
> --- a/libavcodec/aacsbr.c
> +++ b/libavcodec/aacsbr.c
> @@ -1097,6 +1097,7 @@ int ff_decode_sbr_extension(AACContext *ac, 
> SpectralBandReplication *sbr,
>      if (bytes_read > cnt) {
>          av_log(ac->avctx, AV_LOG_ERROR,
>                 "Expected to read %d SBR bytes actually read %d.\n", cnt, 
> bytes_read);
> +        sbr_turnoff(sbr);
>      }
>      return cnt;
>  }
> 

Sounds a good solution, anybody against it?

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to