summaryrefslogtreecommitdiff
path: root/ext/libav/gstavdemux.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-04 18:28:11 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-04 18:36:56 +0100
commitf5c112990f397f8b160966cdb6fb7420c45246d5 (patch)
tree64088863c3aacdc684884c526a4babf7125ed789 /ext/libav/gstavdemux.c
parent0f206124b682790a3f96a3bee110f9c2350f3348 (diff)
downloadgst-libav-f5c112990f397f8b160966cdb6fb7420c45246d5.tar.gz
av: Port remaining simple bits
Diffstat (limited to 'ext/libav/gstavdemux.c')
-rw-r--r--ext/libav/gstavdemux.c4
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);