lavf: remove disabled FF_API_DUMP_FORMAT cruft
authorAnton Khirnov <anton@khirnov.net>
Thu, 12 Jan 2012 12:31:55 +0000 (13:31 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 27 Jan 2012 09:52:42 +0000 (10:52 +0100)
libavformat/avformat.h
libavformat/utils.c
libavformat/version.h

index 629f738..9156be0 100644 (file)
@@ -1731,12 +1731,6 @@ void av_url_split(char *proto,         int proto_size,
                   char *path,          int path_size,
                   const char *url);
 
-#if FF_API_DUMP_FORMAT
-attribute_deprecated void dump_format(AVFormatContext *ic,
-                                      int index,
-                                      const char *url,
-                                      int is_output);
-#endif
 
 void av_dump_format(AVFormatContext *ic,
                     int index,
index 8860d47..2f4a6d1 100644 (file)
@@ -3282,16 +3282,6 @@ static void dump_stream_format(AVFormatContext *ic, int i, int index, int is_out
     dump_metadata(NULL, st->metadata, "    ");
 }
 
-#if FF_API_DUMP_FORMAT
-void dump_format(AVFormatContext *ic,
-                 int index,
-                 const char *url,
-                 int is_output)
-{
-    av_dump_format(ic, index, url, is_output);
-}
-#endif
-
 void av_dump_format(AVFormatContext *ic,
                     int index,
                     const char *url,
index f55fc01..e1daff2 100644 (file)
@@ -47,9 +47,6 @@
  * Those FF_API_* defines are not part of public API.
  * They may change, break or disappear at any time.
  */
-#ifndef FF_API_DUMP_FORMAT
-#define FF_API_DUMP_FORMAT             (LIBAVFORMAT_VERSION_MAJOR < 54)
-#endif
 #ifndef FF_API_PARSE_DATE
 #define FF_API_PARSE_DATE              (LIBAVFORMAT_VERSION_MAJOR < 54)
 #endif