[FFmpeg-devel] cbs_h264: Fix type of abs_diff_pic_num_minus1

Submitted by Andreas Rheinhardt on June 7, 2019, 12:52 a.m.

Details

Message ID 20190607005224.63056-1-andreas.rheinhardt@gmail.com
State New
Headers show

Commit Message

Andreas Rheinhardt June 7, 2019, 12:52 a.m.
It is an unsigned value.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/cbs_h264.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/libavcodec/cbs_h264.h b/libavcodec/cbs_h264.h
index a31be298ba..721379eacc 100644
--- a/libavcodec/cbs_h264.h
+++ b/libavcodec/cbs_h264.h
@@ -379,7 +379,7 @@  typedef struct H264RawSliceHeader {
     uint8_t ref_pic_list_modification_flag_l1;
     struct {
         uint8_t modification_of_pic_nums_idc;
-        int32_t abs_diff_pic_num_minus1;
+        uint32_t abs_diff_pic_num_minus1;
         uint8_t long_term_pic_num;
     } rplm_l0[H264_MAX_RPLM_COUNT], rplm_l1[H264_MAX_RPLM_COUNT];