Quoting Nicolas Gaullier (2020-10-01 15:22:37)
> Fixes pts generation.
> ---
>  libavcodec/dolby_e.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/dolby_e.c b/libavcodec/dolby_e.c
> index 429612ec08..b0e6d6aee3 100644
> --- a/libavcodec/dolby_e.c
> +++ b/libavcodec/dolby_e.c
> @@ -577,6 +577,7 @@ static int filter_frame(DBEContext *s, AVFrame *frame)
>          reorder = ch_reorder_n;
>  
>      frame->nb_samples = FRAME_SAMPLES;
> +    s->avctx->frame_size = FRAME_SAMPLES;

Wouldn't it make more sense to set it in decoder init?

-- 
Anton Khirnov
_______________________________________________
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