diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-12 13:31:55 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-27 10:52:42 +0100 |
commit | 1d911bb404f547599d69312325a2bb63888e8408 (patch) | |
tree | 4db97a9c4dd416a9604116363960fde292bb0149 /libavformat | |
parent | 64f6f6f83662f0a307b3d59d6c0672e0aae96830 (diff) | |
download | ffmpeg-1d911bb404f547599d69312325a2bb63888e8408.tar.gz |
lavf: remove disabled FF_API_SDP_CREATE cruft
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avformat.h | 4 | ||||
-rw-r--r-- | libavformat/sdp.c | 6 | ||||
-rw-r--r-- | libavformat/version.h | 3 |
3 files changed, 0 insertions, 13 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index d71ae2ff6b..a7d17126b2 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 d89591fe80..ddf28bd7ab 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 5279f9722b..c422b998c8 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 |