summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-08-17 20:30:18 +0200
committerClément Bœsch <ubitux@gmail.com>2011-08-26 14:33:28 +0200
commit8af9366e2f309f5af43dc5e0ae67de05330b699a (patch)
treed7505e54c6e970e0d7b3e2f40cf93b4a81a99472 /ffprobe.c
parenta544545a033062359287e9ece7254c015f84259d (diff)
downloadffmpeg-8af9366e2f309f5af43dc5e0ae67de05330b699a.tar.gz
ffprobe: fix deprecated call to av_find_stream_info.
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c2
1 files changed, 1 insertions, 1 deletions
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;
}