diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-03 00:36:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-03 00:36:26 +0200 |
commit | 9091ba9dfa0901bdce8305cf282c747b0f4c942e (patch) | |
tree | 0ad03e862d1aabecfc91cabfceba80320734b040 /libavcodec/h264_ps.c | |
parent | b6851d34c0658c10804fbca41d1572f1d751b5cf (diff) | |
download | ffmpeg-9091ba9dfa0901bdce8305cf282c747b0f4c942e.tar.gz |
h264: add support for constraint_set4_flag / constraint_set5_flag
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_ps.c')
-rw-r--r-- | libavcodec/h264_ps.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index 98d779ea3b..2408349420 100644 --- a/libavcodec/h264_ps.c +++ b/libavcodec/h264_ps.c @@ -324,7 +324,9 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){ constraint_set_flags |= get_bits1(&s->gb) << 1; //constraint_set1_flag constraint_set_flags |= get_bits1(&s->gb) << 2; //constraint_set2_flag constraint_set_flags |= get_bits1(&s->gb) << 3; //constraint_set3_flag - get_bits(&s->gb, 4); // reserved + constraint_set_flags |= get_bits1(&s->gb) << 4; //constraint_set4_flag + constraint_set_flags |= get_bits1(&s->gb) << 5; //constraint_set5_flag + get_bits(&s->gb, 2); // reserved level_idc= get_bits(&s->gb, 8); sps_id= get_ue_golomb_31(&s->gb); |