Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-21 18:30:01 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-01-21 18:31:04 +0400
commit5b93b2722dea3e73612fe3001113387f842ed9f8 (patch)
tree58a7dd5a716a0043e4c9921e893b58cc6dfbae2d /libavcodec/hevc.h
parentc7b454f7a42e3d92ab54fcb40c3d12cf8b7efc70 (diff)
parent838740e6420538ad45982da6b1d3aa3ae91307f5 (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.h4
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;