diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-21 15:30:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-21 15:31:04 +0100 |
commit | 5b93b2722dea3e73612fe3001113387f842ed9f8 (patch) | |
tree | 58a7dd5a716a0043e4c9921e893b58cc6dfbae2d /libavcodec/hevc.h | |
parent | c7b454f7a42e3d92ab54fcb40c3d12cf8b7efc70 (diff) | |
parent | 838740e6420538ad45982da6b1d3aa3ae91307f5 (diff) |
Merge commit '838740e6420538ad45982da6b1d3aa3ae91307f5'
* commit '838740e6420538ad45982da6b1d3aa3ae91307f5':
hevc: Prevent some integer overflows
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index df52523050..0ba24fae45 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -259,7 +259,7 @@ enum ScanType { }; typedef struct ShortTermRPS { - int num_negative_pics; + unsigned int num_negative_pics; int num_delta_pocs; int32_t delta_poc[32]; uint8_t used[32]; @@ -526,7 +526,7 @@ typedef struct HEVCPPS { } HEVCPPS; typedef struct SliceHeader { - int pps_id; + unsigned int pps_id; ///< address (in raster order) of the first block in the current slice segment unsigned int slice_segment_addr; |