Commit acca0e77 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

flvdemux: Don't use static variables to hold index associations

This not really threadsafe in any way.
parent 6a0339bf
......@@ -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;
"adding key=%d association %" GST_TIME_FORMAT "-> %" G_GUINT64_FORMAT,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment