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