You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf: remove disabled FF_API_CLOSE_INPUT_FILE cruft
This commit is contained in:
@@ -1386,17 +1386,6 @@ int av_read_play(AVFormatContext *s);
|
|||||||
*/
|
*/
|
||||||
int av_read_pause(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
|
* Close an opened input AVFormatContext. Free it and all its contents
|
||||||
* and set *s to NULL.
|
* and set *s to NULL.
|
||||||
|
@@ -2705,13 +2705,6 @@ void avformat_free_context(AVFormatContext *s)
|
|||||||
av_free(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)
|
void avformat_close_input(AVFormatContext **ps)
|
||||||
{
|
{
|
||||||
AVFormatContext *s = *ps;
|
AVFormatContext *s = *ps;
|
||||||
|
@@ -49,9 +49,6 @@
|
|||||||
* the public API and may change, break or disappear at any time.
|
* the public API and may change, break or disappear at any time.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FF_API_CLOSE_INPUT_FILE
|
|
||||||
#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 55)
|
|
||||||
#endif
|
|
||||||
#ifndef FF_API_APPLEHTTP_PROTO
|
#ifndef FF_API_APPLEHTTP_PROTO
|
||||||
#define FF_API_APPLEHTTP_PROTO (LIBAVFORMAT_VERSION_MAJOR < 55)
|
#define FF_API_APPLEHTTP_PROTO (LIBAVFORMAT_VERSION_MAJOR < 55)
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user