mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
h264parse: remove useless NULL setting in gst_h264_nal_parser_free
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8082>
This commit is contained in:
parent
acc1309cdf
commit
95151af803
1 changed files with 1 additions and 3 deletions
|
@ -1435,7 +1435,7 @@ gst_h264_nal_parser_new (void)
|
||||||
* gst_h264_nal_parser_free:
|
* gst_h264_nal_parser_free:
|
||||||
* @nalparser: the #GstH264NalParser to free
|
* @nalparser: the #GstH264NalParser to free
|
||||||
*
|
*
|
||||||
* Frees @nalparser and sets it to %NULL
|
* Frees @nalparser
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
gst_h264_nal_parser_free (GstH264NalParser * nalparser)
|
gst_h264_nal_parser_free (GstH264NalParser * nalparser)
|
||||||
|
@ -1447,8 +1447,6 @@ gst_h264_nal_parser_free (GstH264NalParser * nalparser)
|
||||||
for (i = 0; i < GST_H264_MAX_PPS_COUNT; i++)
|
for (i = 0; i < GST_H264_MAX_PPS_COUNT; i++)
|
||||||
gst_h264_pps_clear (&nalparser->pps[i]);
|
gst_h264_pps_clear (&nalparser->pps[i]);
|
||||||
g_free (nalparser);
|
g_free (nalparser);
|
||||||
|
|
||||||
nalparser = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue