[FFmpeg-cvslog] lavf: use the correct pointer in av_open_input_stream().
Anton Khirnov
git at videolan.org
Sun Jul 3 03:20:23 CEST 2011
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Jul 1 21:24:17 2011 +0200| [5001d6ef4a2b70fe903b1d2e3e64c6ad7cc1cfa6] | committer: Anton Khirnov
lavf: use the correct pointer in av_open_input_stream().
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5001d6ef4a2b70fe903b1d2e3e64c6ad7cc1cfa6
---
libavformat/utils.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 776697b..92debd5 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;
More information about the ffmpeg-cvslog
mailing list