[FFmpeg-cvslog] lavf: put av_find_stream_info() compatibility wrapper back.
Michael Niedermayer
git at videolan.org
Thu Feb 9 19:06:31 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb 6 17:26:38 2012 +0100| [8a07429318acfbf497981a0ba1f68e2966ce3fdf] | committer: Michael Niedermayer
lavf: put av_find_stream_info() compatibility wrapper back.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8a07429318acfbf497981a0ba1f68e2966ce3fdf
---
libavformat/utils.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index d974ccd..7988f27 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;
More information about the ffmpeg-cvslog
mailing list