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