aacparse: add a few comments to anchor parsing to the spec

https://bugzilla.gnome.org/show_bug.cgi?id=769278
This commit is contained in:
Vincent Penquerc'h 2016-09-05 09:38:26 +01:00
parent 559546dd3a
commit b0f20bacfd

View file

@ -612,9 +612,11 @@ gst_aac_parse_read_loas_config (GstAacParse * aacparse, const guint8 * data,
GST_DEBUG_OBJECT (aacparse, "Frame contains new config");
/* audioMuxVersion */
if (!gst_bit_reader_get_bits_uint8 (&br, &v, 1))
return FALSE;
if (v) {
/* audioMuxVersionA */
if (!gst_bit_reader_get_bits_uint8 (&br, &vA, 1))
return FALSE;
} else
@ -625,6 +627,7 @@ gst_aac_parse_read_loas_config (GstAacParse * aacparse, const guint8 * data,
guint8 same_time, subframes, num_program, prog;
if (v == 1) {
guint32 value;
/* taraBufferFullness */
if (!gst_aac_parse_latm_get_value (aacparse, &br, &value))
return FALSE;
}