diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-05-22 21:24:59 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-19 13:22:27 +0400 |
commit | afe2726089a9f45d89e81217cd69505c14b94445 (patch) | |
tree | 037739667ab76ab797782ffa12739a5537d4d870 /libavfilter | |
parent | 23f0d0f16bb2accc661ab8c135362ee75987c549 (diff) |
lavf: add avformat_find_stream_info()
It supports passing options to codecs.
(cherry picked from commit a67c061e0f3b55ffcc96f336fc0998e44b86c8e4)
Conflicts:
libavformat/utils.c
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vsrc_movie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index bd74f95545..b018ba7418 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -96,7 +96,7 @@ static int movie_init(AVFilterContext *ctx) "Failed to avformat_open_input '%s'\n", movie->file_name); return ret; } - if ((ret = av_find_stream_info(movie->format_ctx)) < 0) + if ((ret = avformat_find_stream_info(movie->format_ctx, NULL)) < 0) av_log(ctx, AV_LOG_WARNING, "Failed to find stream info\n"); // if seeking requested, we execute it |