[FFmpeg-devel] [PATCH 2/2 v2] avcodec/librav1e: Pass through timestamps as opaque user data

Derek Buitenhuis derek.buitenhuis at gmail.com
Sun Jan 17 14:43:36 EET 2021


On 17/01/2021 12:38, Derek Buitenhuis wrote:
> --- a/libavcodec/av1dec.c
> +++ b/libavcodec/av1dec.c
> @@ -929,7 +929,7 @@ static int av1_decode_frame(AVCodecContext *avctx, void *frame,
>  
>              s->operating_point_idc = s->raw_seq->operating_point_idc[s->operating_point];
>  
> -            if (s->pix_fmt == AV_PIX_FMT_NONE) {
> +            if (avctx->pix_fmt == AV_PIX_FMT_NONE) {
>                  ret = get_pixel_format(avctx);
>                  if (ret < 0) {

Eugh, I amended too hard. v3 sent.

- Derek


More information about the ffmpeg-devel mailing list