mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
mpegts: Remove unneeded NULL check
Allocating those structures is done in all code paths leading there CID #1219860 CID #1219861 CID #1219862 CID #1219863 CID #1219864
This commit is contained in:
parent
0eed275a51
commit
a57005abbc
1 changed files with 5 additions and 10 deletions
|
@ -197,7 +197,6 @@ _parse_atsc_vct (GstMpegTsSection * section)
|
|||
return (gpointer) vct;
|
||||
|
||||
error:
|
||||
if (vct)
|
||||
_gst_mpegts_atsc_vct_free (vct);
|
||||
|
||||
return NULL;
|
||||
|
@ -366,7 +365,6 @@ _parse_atsc_mgt (GstMpegTsSection * section)
|
|||
return (gpointer) mgt;
|
||||
|
||||
error:
|
||||
if (mgt)
|
||||
_gst_mpegts_atsc_mgt_free (mgt);
|
||||
|
||||
return NULL;
|
||||
|
@ -710,7 +708,6 @@ _parse_atsc_eit (GstMpegTsSection * section)
|
|||
return (gpointer) eit;
|
||||
|
||||
error:
|
||||
if (eit)
|
||||
_gst_mpegts_atsc_eit_free (eit);
|
||||
|
||||
return NULL;
|
||||
|
@ -798,7 +795,6 @@ _parse_ett (GstMpegTsSection * section)
|
|||
return (gpointer) ett;
|
||||
|
||||
error:
|
||||
if (ett)
|
||||
_gst_mpegts_atsc_ett_free (ett);
|
||||
|
||||
return NULL;
|
||||
|
@ -888,7 +884,6 @@ _parse_atsc_stt (GstMpegTsSection * section)
|
|||
return (gpointer) stt;
|
||||
|
||||
error:
|
||||
if (stt)
|
||||
_gst_mpegts_atsc_stt_free (stt);
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue