Message ID | 20200823020218.12659-2-jamrial@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/3] avcodec/cbs_av1: add derived frame size to AV1RawFrameHeader | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
diff --git a/libavcodec/av1_parser.c b/libavcodec/av1_parser.c index cd426a2b0f..0a34f20a59 100644 --- a/libavcodec/av1_parser.c +++ b/libavcodec/av1_parser.c @@ -127,8 +127,8 @@ static int av1_parser_parse(AVCodecParserContext *ctx, } else if (!frame->show_frame) { continue; } else { - ctx->width = av1->frame_width; - ctx->height = av1->frame_height; + ctx->width = frame->frame_width; + ctx->height = frame->frame_height; frame_type = frame->frame_type; ctx->key_frame = frame_type == AV1_FRAME_KEY;
Signed-off-by: James Almer <jamrial@gmail.com> --- libavcodec/av1_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)