summaryrefslogtreecommitdiff
path: root/avprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avprobe.c b/avprobe.c
index 3843af9b72..d502421416 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -277,7 +277,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;
}