From 5b578bc4bef6932a19e39c0da93a9e2d4cf90d7b Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 30 Jan 2023 22:24:24 +0100 Subject: [PATCH] avcodec/media100: pass pix_fmt to upper context Signed-off-by: Paul B Mahol --- libavcodec/media100.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/media100.c b/libavcodec/media100.c index fdfce2cac1..37b98c9a57 100644 --- a/libavcodec/media100.c +++ b/libavcodec/media100.c @@ -196,6 +196,7 @@ second_field: if (ret < 0) return ret; + avctx->pix_fmt = ctx->avctx->pix_fmt; *got_frame = 1; return avpkt->size; -- 2.39.1