[FFmpeg-devel] [PATCH 30/42] avcodec/vp9: Switch to ProgressFrames

Anton Khirnov anton at khirnov.net
Sat Oct 21 14:04:39 EEST 2023


Quoting Andreas Rheinhardt (2023-09-19 21:57:22)
> @@ -1605,7 +1590,8 @@ static int vp9_decode_frame(AVCodecContext *avctx, AVFrame *frame,
>          f->flags &= ~AV_FRAME_FLAG_KEY;
>      f->pict_type = (s->s.h.keyframe || s->s.h.intraonly) ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P;
>  
> -    if (s->s.frames[REF_FRAME_SEGMAP].tf.f->buf[0] &&
> +    // Inexistent frames have the implicit dimension 0x0 != CUR_FRAME

Is this a word? I think one would normally say "non-existent".

Otherwise looks ok.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list