mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
mpegts: remove storage of never used values
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
This commit is contained in:
parent
3e452352f0
commit
f76d1a2514
1 changed files with 0 additions and 2 deletions
|
@ -193,7 +193,6 @@ _parse_atsc_vct (GstMpegtsSection * section)
|
||||||
gst_mpegts_parse_descriptors (data, descriptors_loop_length);
|
gst_mpegts_parse_descriptors (data, descriptors_loop_length);
|
||||||
if (vct->descriptors == NULL)
|
if (vct->descriptors == NULL)
|
||||||
goto error;
|
goto error;
|
||||||
data += descriptors_loop_length;
|
|
||||||
|
|
||||||
return (gpointer) vct;
|
return (gpointer) vct;
|
||||||
|
|
||||||
|
@ -361,7 +360,6 @@ _parse_atsc_mgt (GstMpegtsSection * section)
|
||||||
}
|
}
|
||||||
mgt->descriptors =
|
mgt->descriptors =
|
||||||
gst_mpegts_parse_descriptors (data, descriptors_loop_length);
|
gst_mpegts_parse_descriptors (data, descriptors_loop_length);
|
||||||
data += descriptors_loop_length;
|
|
||||||
|
|
||||||
return (gpointer) mgt;
|
return (gpointer) mgt;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue