Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorVivia Nikolaidou <vivia@ahiru.eu>2020-08-10 20:17:38 +0300
committerVivia Nikolaidou <vivia@ahiru.eu>2020-08-10 20:18:30 +0300
commit59aab55e715015b048cc766decd843023cb84dda (patch)
tree79505737f14bc51adea543bdbbde52e49e0830c2 /gst
parent625e56d3b41a19b97fb14b0431d860e00a3fa42c (diff)
flvmux: Fix possible crash on GST_ITERATOR_RESYNC
Wrong pointer type Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/696>
Diffstat (limited to 'gst')
-rw-r--r--gst/flv/gstflvmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c
index aa91a44f2..dc06fc0ca 100644
--- a/gst/flv/gstflvmux.c
+++ b/gst/flv/gstflvmux.c
@@ -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: