aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-11 11:39:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-11 11:39:46 +0100
commit0adde39e048868e1b3e2f7c94c4d47f45f5438f9 (patch)
treec95592e71cc3abce710bb1a9ed58fe8711e2a343
parent03ae616b194e873ce22cef1878666b9d3028e56f (diff)
parentca2c9d6b9bfadb64e1502594fdf745a391699890 (diff)
downloadffmpeg-0adde39e048868e1b3e2f7c94c4d47f45f5438f9.tar.gz
Merge commit 'ca2c9d6b9bfadb64e1502594fdf745a391699890' into release/2.2
* commit 'ca2c9d6b9bfadb64e1502594fdf745a391699890': hevc: make pps/sps ids unsigned where necessary Conflicts: libavcodec/hevc.h libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/hevc.h2
-rw-r--r--libavcodec/hevc_ps.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index fe9c4e90e0..4a6620f67b 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -461,7 +461,7 @@ typedef struct HEVCSPS {
} HEVCSPS;
typedef struct HEVCPPS {
- unsigned sps_id; ///< seq_parameter_set_id
+ unsigned int sps_id; ///< seq_parameter_set_id
uint8_t sign_data_hiding_flag;
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 97bd87e4af..647f83eec6 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -611,8 +611,8 @@ int ff_hevc_decode_nal_sps(HEVCContext *s)
{
const AVPixFmtDescriptor *desc;
GetBitContext *gb = &s->HEVClc->gb;
- int ret = 0;
- int sps_id = 0;
+ int ret = 0;
+ unsigned int sps_id = 0;
int log2_diff_max_min_transform_block_size;
int bit_depth_chroma, start, vui_present, sublayer_ordering_info;
int i;
@@ -993,8 +993,8 @@ int ff_hevc_decode_nal_pps(HEVCContext *s)
int pic_area_in_ctbs, pic_area_in_min_cbs, pic_area_in_min_tbs;
int log2_diff_ctb_min_tb_size;
int i, j, x, y, ctb_addr_rs, tile_id;
- int ret = 0;
- int pps_id = 0;
+ int ret = 0;
+ unsigned int pps_id = 0;
AVBufferRef *pps_buf;
HEVCPPS *pps = av_mallocz(sizeof(*pps));