[FFmpeg-devel] [PATCH 3/3] lavf: put av_find_stream_info() compatibility wrapeer back.
Michael Niedermayer
michaelni at gmx.at
Mon Feb 6 17:36:15 CET 2012
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavformat/utils.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 760ed0a..71baf58 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;
--
1.7.5.4
More information about the ffmpeg-devel
mailing list