Signed-off-by: James Almer <[email protected]>
---
libavcodec/av1_parser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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;
--
2.27.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".