aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-07-01 21:24:17 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-02 08:41:57 +0200
commit5001d6ef4a2b70fe903b1d2e3e64c6ad7cc1cfa6 (patch)
tree309330b80a538f2901e4449a249858d97b4b8820 /libavformat
parentd3f610c186b6e8430e4cf97667750e720f6983c8 (diff)
downloadffmpeg-5001d6ef4a2b70fe903b1d2e3e64c6ad7cc1cfa6.tar.gz
lavf: use the correct pointer in av_open_input_stream().
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 776697b5bb..92debd5404 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -461,8 +461,9 @@ int av_open_input_stream(AVFormatContext **ic_ptr,
}
ic->pb = pb;
- err = avformat_open_input(ic_ptr, filename, fmt, &opts);
+ err = avformat_open_input(&ic, filename, fmt, &opts);
+ *ic_ptr = ic;
fail:
av_dict_free(&opts);
return err;