encoder: h264: add missing field in packed Subset SPS header.

Write the missing num_level_values_signalled_minus1 syntax element
into the packed header for subset sequence parameter set.

https://bugzilla.gnome.org/show_bug.cgi?id=732083
This commit is contained in:
Sreerenj Balachandran 2014-06-25 22:05:52 +03:00 committed by Gwenole Beauchesne
parent bea0d07042
commit a7c27bb7d5

View file

@ -594,6 +594,7 @@ bs_write_subset_sps (GstBitWriter * bs,
/* num level values signalled minus1 */
num_level_values_signalled_minus1 = 0;
g_assert (num_level_values_signalled_minus1 < 64);
WRITE_UE (bs, num_level_values_signalled_minus1);
for (i = 0; i <= num_level_values_signalled_minus1; i++) {
guint16 num_applicable_ops_minus1 = 0;