aboutsummaryrefslogtreecommitdiffstats
path: root/avprobe.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-08-26 17:40:07 +0200
committerDiego Biurrun <diego@biurrun.de>2011-08-26 17:40:07 +0200
commitc960e67ad0f6b318a5f229bb662c899e7e7570d8 (patch)
tree06a910110a22a49f13601074ad446532cde22150 /avprobe.c
parent5f677aac7687a5ceac45b53be5e8fe6ebf07c34d (diff)
downloadffmpeg-c960e67ad0f6b318a5f229bb662c899e7e7570d8.tar.gz
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
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;
}