Merge commit 'ee6280ca12696a67535ce2245c77190edc513794'
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Mar 2014 03:50:08 +0000 (04:50 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Mar 2014 03:51:05 +0000 (04:51 +0100)
* commit 'ee6280ca12696a67535ce2245c77190edc513794':
  h264: parse two additional constraint flags

Conflicts:
libavcodec/h264_ps.c

See: 9091ba9dfa0901bdce8305cf282c747b0f4c942e
Merged-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_ps.c

index 63b4d83..cf27b45 100644 (file)
@@ -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);