mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
flvmux: Fix possible crash on GST_ITERATOR_RESYNC
Wrong pointer type Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/696>
This commit is contained in:
parent
625e56d3b4
commit
59aab55e71
1 changed files with 1 additions and 1 deletions
|
@ -1921,7 +1921,7 @@ gst_flv_mux_find_best_pad (GstAggregator * aggregator, GstClockTime * ts)
|
|||
case GST_ITERATOR_RESYNC:
|
||||
gst_iterator_resync (pads);
|
||||
/* Clear the best pad and start again. It might have disappeared */
|
||||
gst_object_replace ((GstObject **) best, NULL);
|
||||
gst_object_replace ((GstObject **) & best, NULL);
|
||||
best_ts = GST_CLOCK_TIME_NONE;
|
||||
break;
|
||||
case GST_ITERATOR_ERROR:
|
||||
|
|
Loading…
Reference in a new issue