From acca0e77f19f676aa1dff75d855a83d6ec39de99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 6 Apr 2012 09:13:31 +0200 Subject: [PATCH] flvdemux: Don't use static variables to hold index associations This not really threadsafe in any way. --- gst/flv/gstflvdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index d88928913c..63616d0701 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -110,8 +110,8 @@ static void gst_flv_demux_parse_and_add_index_entry (GstFlvDemux * demux, GstClockTime ts, guint64 pos, gboolean keyframe) { - static GstIndexAssociation associations[2]; - static GstIndexEntry *entry; + GstIndexAssociation associations[2]; + GstIndexEntry *entry; GST_LOG_OBJECT (demux, "adding key=%d association %" GST_TIME_FORMAT "-> %" G_GUINT64_FORMAT, -- 2.34.1