[FFmpeg-devel] [PATCH 1/4] lavc/vvc_parser: Remove max_b_frames setting

Nuo Mi nuomi2021 at gmail.com
Sat Apr 20 06:51:52 EEST 2024


LGTM

On Fri, Apr 19, 2024 at 9:47 PM Jun Zhao <mypopy at gmail.com> wrote:

> From: Jun Zhao <mypopydev at gmail.com>
>
> We don't used the max_b_frames field in decoder normally
>
> Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
> ---
>  libavcodec/vvc_parser.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/libavcodec/vvc_parser.c b/libavcodec/vvc_parser.c
> index e3501fa139..a0e10e1a7c 100644
> --- a/libavcodec/vvc_parser.c
> +++ b/libavcodec/vvc_parser.c
> @@ -187,7 +187,6 @@ static void set_parser_ctx(AVCodecParserContext *s,
> AVCodecContext *avctx,
>
>      avctx->has_b_frames = (sps->sps_max_sublayers_minus1 + 1) > 2 ? 2 :
>                             sps->sps_max_sublayers_minus1;
> -    avctx->max_b_frames = sps->sps_max_sublayers_minus1;
>
>      if (sps->sps_ptl_dpb_hrd_params_present_flag &&
>          sps->sps_timing_hrd_params_present_flag) {
> --
> 2.25.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list