summaryrefslogtreecommitdiffstats
path: root/demux/demux_lavf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r--demux/demux_lavf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
index 881d38b4df..bacbfa24de 100644
--- a/demux/demux_lavf.c
+++ b/demux/demux_lavf.c
@@ -396,7 +396,7 @@ static void convert_charset(struct demuxer *demuxer)
data = conv;
}
if (data.start) {
- priv->stream = open_memory_stream(data.start, data.len);
+ priv->stream = stream_memory_open(demuxer->global, data.start, data.len);
priv->own_stream = true;
}
talloc_free(alloc);