mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
h264: Decode short VUI without error
Fixes 47j9R7PXBep.mov Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d1c28e3530
commit
ae7a6441df
@ -229,7 +229,8 @@ static inline int decode_vui_parameters(H264Context *h, SPS *sps){
|
||||
if(sps->nal_hrd_parameters_present_flag || sps->vcl_hrd_parameters_present_flag)
|
||||
get_bits1(&s->gb); /* low_delay_hrd_flag */
|
||||
sps->pic_struct_present_flag = get_bits1(&s->gb);
|
||||
|
||||
if(!get_bits_left(&s->gb))
|
||||
return 0;
|
||||
sps->bitstream_restriction_flag = get_bits1(&s->gb);
|
||||
if(sps->bitstream_restriction_flag){
|
||||
get_bits1(&s->gb); /* motion_vectors_over_pic_boundaries_flag */
|
||||
|
Loading…
Reference in New Issue
Block a user