OSDN Git Service

lavf: put av_find_stream_info() compatibility wrapper back.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Feb 2012 16:26:38 +0000 (17:26 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Feb 2012 18:03:32 +0000 (19:03 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index d974ccd..7988f27 100644 (file)
@@ -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;