diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-12-11 10:34:08 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-12-12 20:23:56 +0100 |
commit | 526604545fb1cc0c11af356fbffd5cddf8cdc95f (patch) | |
tree | 1c3b0c53decd94ddd1c735283129c09af73b5938 /libavformat/version.h | |
parent | 3a7f7678eb3be1f9a28414c9908ed8d34b1b9846 (diff) | |
download | ffmpeg-526604545fb1cc0c11af356fbffd5cddf8cdc95f.tar.gz |
lavf: add avformat_close_input().
It sets the supplied AVFormatContext pointer to NULL after freeing it,
which is safer and its name is consistent with other lavf functions.
Also deprecate av_close_input_file().
Diffstat (limited to 'libavformat/version.h')
-rw-r--r-- | libavformat/version.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/version.h b/libavformat/version.h index 7ba411c494..e80787b2ee 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -30,7 +30,7 @@ #include "libavutil/avutil.h" #define LIBAVFORMAT_VERSION_MAJOR 53 -#define LIBAVFORMAT_VERSION_MINOR 16 +#define LIBAVFORMAT_VERSION_MINOR 17 #define LIBAVFORMAT_VERSION_MICRO 0 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ @@ -122,5 +122,8 @@ #ifndef FF_API_SET_PTS_INFO #define FF_API_SET_PTS_INFO (LIBAVFORMAT_VERSION_MAJOR < 54) #endif +#ifndef FF_API_CLOSE_INPUT_FILE +#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 54) +#endif #endif /* AVFORMAT_VERSION_H */ |