diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index 63b4d83c18..cf27b4588c 100644 --- a/libavcodec/h264_ps.c +++ b/libavcodec/h264_ps.c @@ -335,7 +335,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h) constraint_set_flags |= get_bits1(&h->gb) << 3; // constraint_set3_flag constraint_set_flags |= get_bits1(&h->gb) << 4; // constraint_set4_flag constraint_set_flags |= get_bits1(&h->gb) << 5; // constraint_set5_flag - get_bits(&h->gb, 2); // reserved + skip_bits(&h->gb, 2); // reserved_zero_2bits level_idc = get_bits(&h->gb, 8); sps_id = get_ue_golomb_31(&h->gb);