diff options
Diffstat (limited to 'ext/libav/gstavdemux.c')
-rw-r--r-- | ext/libav/gstavdemux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libav/gstavdemux.c b/ext/libav/gstavdemux.c index c744e56..a964964 100644 --- a/ext/libav/gstavdemux.c +++ b/ext/libav/gstavdemux.c @@ -1138,8 +1138,8 @@ gst_ffmpegdemux_open (GstFFMpegDemux * demux) location = g_strdup_printf ("gstpipe://%p", &demux->ffpipe); GST_DEBUG_OBJECT (demux, "about to call av_open_input_file %s", location); - res = av_open_input_file (&demux->context, location, - oclass->in_plugin, 0, NULL); + res = avformat_open_input (&demux->context, location, + oclass->in_plugin, NULL); g_free (location); GST_DEBUG_OBJECT (demux, "av_open_input returned %d", res); |