summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-09-14 21:26:51 -0300
committerJames Almer <jamrial@gmail.com>2014-10-05 17:10:23 -0300
commitecf457f3ac49e93f06edfe301db4bc2fdedca1ae (patch)
tree152fab6c61045d8c933731198f96c853225f4109
parent3bd9f17b8af9604eb2fb47cad2c40f580417ceb1 (diff)
avformat: remove obsolete FF_API_CLOSE_INPUT_FILE cruft
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavformat/avformat.h11
-rw-r--r--libavformat/utils.c7
-rw-r--r--libavformat/version.h3
3 files changed, 0 insertions, 21 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index e3c22d44a2..56c139905a 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -2155,17 +2155,6 @@ int av_read_play(AVFormatContext *s);
*/
int av_read_pause(AVFormatContext *s);
-#if FF_API_CLOSE_INPUT_FILE
-/**
- * @deprecated use avformat_close_input()
- * Close a media file (but not its codecs).
- *
- * @param s media file handle
- */
-attribute_deprecated
-void av_close_input_file(AVFormatContext *s);
-#endif
-
/**
* Close an opened input AVFormatContext. Free it and all its contents
* and set *s to NULL.
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 888d58ed66..0008073c5b 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3544,13 +3544,6 @@ void avformat_free_context(AVFormatContext *s)
av_free(s);
}
-#if FF_API_CLOSE_INPUT_FILE
-void av_close_input_file(AVFormatContext *s)
-{
- avformat_close_input(&s);
-}
-#endif
-
void avformat_close_input(AVFormatContext **ps)
{
AVFormatContext *s;
diff --git a/libavformat/version.h b/libavformat/version.h
index 38433ee9d7..a9b6cb6562 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -61,9 +61,6 @@
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 57)
#endif
-#ifndef FF_API_CLOSE_INPUT_FILE
-#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 56)
-#endif
#ifndef FF_API_READ_PACKET
#define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 56)
#endif