[FFmpeg-cvslog] ffprobe: fix deprecated call to av_find_stream_info.

Clément Bœsch git at videolan.org
Fri Aug 26 14:34:32 CEST 2011


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Aug 17 20:30:18 2011 +0200| [8af9366e2f309f5af43dc5e0ae67de05330b699a] | committer: Clément Bœsch

ffprobe: fix deprecated call to av_find_stream_info.

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

 ffprobe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index be7b2bf..a314abe 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -276,7 +276,7 @@ static int open_input_file(AVFormatContext **fmt_ctx_ptr, const char *filename)
 
 
     /* fill the streams in the format context */
-    if ((err = av_find_stream_info(fmt_ctx)) < 0) {
+    if ((err = avformat_find_stream_info(fmt_ctx, NULL)) < 0) {
         print_error(filename, err);
         return err;
     }



More information about the ffmpeg-cvslog mailing list