From 8a07429318acfbf497981a0ba1f68e2966ce3fdf Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 6 Feb 2012 17:26:38 +0100 Subject: [PATCH] lavf: put av_find_stream_info() compatibility wrapper back. Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index d974ccd0cd..7988f2708b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2246,6 +2246,13 @@ static int tb_unreliable(AVCodecContext *c){ return 0; } +#if FF_API_FORMAT_PARAMETERS +int av_find_stream_info(AVFormatContext *ic) +{ + return avformat_find_stream_info(ic, NULL); +} +#endif + int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) { int i, count, ret, read_size, j;