Message ID | CAPYw7P4cmwCWFemtk+T=cK6vVpZ6vnZVH2Mj-G3-zfzx9ZXf2Q@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] avcodec/media100: fix regression | expand |
Context | Check | Description |
---|---|---|
yinshiyou/configure_loongarch64 | warning | Failed to apply patch |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
From 5b578bc4bef6932a19e39c0da93a9e2d4cf90d7b Mon Sep 17 00:00:00 2001 From: Paul B Mahol <onemda@gmail.com> 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 <onemda@gmail.com> --- 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