Both _parse_atsc_mgt() and _parse_atsc_vct () change the value of the variable
data just before returning. The new value is never used since data is a pointer
declared at the beginning of the function and going out of scope just after the
new value is stored.
https://bugzilla.gnome.org/show_bug.cgi?id=739404
gst_mpegts_parse_descriptors (data, descriptors_loop_length);
if (vct->descriptors == NULL)
goto error;
- data += descriptors_loop_length;
return (gpointer) vct;
}
mgt->descriptors =
gst_mpegts_parse_descriptors (data, descriptors_loop_length);
- data += descriptors_loop_length;
return (gpointer) mgt;