[FFmpeg-cvslog] avcodec/cbs_av1: fix storage size for render_{width,height}_minus_1

James Almer git at videolan.org
Sun Sep 6 04:38:00 EEST 2020


ffmpeg | branch: release/4.3 | James Almer <jamrial at gmail.com> | Sun Aug 23 12:20:07 2020 -0300| [3a66177fef5dd74ad8b8cf3fdc452d0147a20e22] | committer: James Almer

avcodec/cbs_av1: fix storage size for render_{width,height}_minus_1

Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit 751f2a27f7d2efe5091ef54d73e5428160a85578)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3a66177fef5dd74ad8b8cf3fdc452d0147a20e22
---

 libavcodec/cbs_av1.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/cbs_av1.h b/libavcodec/cbs_av1.h
index fdc629b00c..7182c61866 100644
--- a/libavcodec/cbs_av1.h
+++ b/libavcodec/cbs_av1.h
@@ -158,8 +158,8 @@ typedef struct AV1RawFrameHeader {
     uint8_t  use_superres;
     uint8_t  coded_denom;
     uint8_t  render_and_frame_size_different;
-    uint8_t  render_width_minus_1;
-    uint8_t  render_height_minus_1;
+    uint16_t render_width_minus_1;
+    uint16_t render_height_minus_1;
 
     uint8_t found_ref[AV1_REFS_PER_FRAME];
 



More information about the ffmpeg-cvslog mailing list