h264parse: set nalparser to NULL after it is freed

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8074>
This commit is contained in:
sachin gadag 2024-08-01 14:54:11 +00:00 committed by GStreamer Marge Bot
parent c03fb74469
commit 3f6020ddb5

View file

@ -354,6 +354,7 @@ gst_h264_parse_stop (GstBaseParse * parse)
gst_h264_parse_reset (h264parse);
gst_h264_nal_parser_free (h264parse->nalparser);
h264parse->nalparser = NULL;
return TRUE;
}