[FFmpeg-cvslog] lavf: remove disabled FF_API_SDP_CREATE cruft
Anton Khirnov
git at videolan.org
Sat Jan 28 08:05:09 CET 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 12 13:31:55 2012 +0100| [1d911bb404f547599d69312325a2bb63888e8408] | committer: Anton Khirnov
lavf: remove disabled FF_API_SDP_CREATE cruft
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1d911bb404f547599d69312325a2bb63888e8408
---
libavformat/avformat.h | 4 ----
libavformat/sdp.c | 6 ------
libavformat/version.h | 3 ---
3 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index d71ae2f..a7d1712 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1770,10 +1770,6 @@ int av_filename_number_test(const char *filename);
*/
int av_sdp_create(AVFormatContext *ac[], int n_files, char *buf, int size);
-#if FF_API_SDP_CREATE
-attribute_deprecated int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size);
-#endif
-
/**
* Return a positive value if the given filename has one of the given
* extensions, 0 otherwise.
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index d89591f..ddf28bd 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -643,9 +643,3 @@ void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, const char *des
}
#endif
-#if FF_API_SDP_CREATE
-int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size)
-{
- return av_sdp_create(ac, n_files, buff, size);
-}
-#endif
diff --git a/libavformat/version.h b/libavformat/version.h
index 5279f97..c422b99 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -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_SDP_CREATE
-#define FF_API_SDP_CREATE (LIBAVFORMAT_VERSION_MAJOR < 54)
-#endif
#ifndef FF_API_FLAG_RTP_HINT
#define FF_API_FLAG_RTP_HINT (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
More information about the ffmpeg-cvslog
mailing list