From: Clément Bœsch Date: Wed, 17 Aug 2011 18:30:18 +0000 (+0200) Subject: ffprobe: fix deprecated call to av_find_stream_info. X-Git-Tag: n0.9~2023 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=8af9366e2f309f5af43dc5e0ae67de05330b699a;hp=a544545a033062359287e9ece7254c015f84259d ffprobe: fix deprecated call to av_find_stream_info. --- diff --git a/ffprobe.c b/ffprobe.c index be7b2bf24f..a314abef97 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; }