mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +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:
|
case GST_ITERATOR_RESYNC:
|
||||||
gst_iterator_resync (pads);
|
gst_iterator_resync (pads);
|
||||||
/* Clear the best pad and start again. It might have disappeared */
|
/* 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;
|
best_ts = GST_CLOCK_TIME_NONE;
|
||||||
break;
|
break;
|
||||||
case GST_ITERATOR_ERROR:
|
case GST_ITERATOR_ERROR:
|
||||||
|
|
Loading…
Reference in a new issue