[FFmpeg-cvslog] lavf: use the correct pointer in av_open_input_stream().

Anton Khirnov git at videolan.org
Wed Jul 27 12:49:39 CEST 2011


ffmpeg | branch: release/0.7 | Anton Khirnov <anton at khirnov.net> | Fri Jul  1 21:24:17 2011 +0200| [9da3063e1cadf0bb4b910e4d9bcd9f859f2bbec6] | committer: Reinhard Tartler

lavf: use the correct pointer in av_open_input_stream().

(cherry picked from commit 5001d6ef4a2b70fe903b1d2e3e64c6ad7cc1cfa6)

Signed-off-by: Reinhard Tartler <siretart at tauware.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9da3063e1cadf0bb4b910e4d9bcd9f859f2bbec6
---

 libavformat/utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 7370c60..29390b8 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