aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-01-11 10:27:14 -0300
committerAnton Khirnov <anton@khirnov.net>2023-02-09 15:35:14 +0100
commitadd33e370d241d947209c914de1bf062fe44d58e (patch)
tree474acee003e6b5c8ddce88f1d970e8112f8b3c32
parent1ba8b6d9dcf5541107b627cf634a4dc2b0cd3d1a (diff)
downloadffmpeg-add33e370d241d947209c914de1bf062fe44d58e.tar.gz
avformat: remove FF_API_LAVF_PRIV_OPT
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavformat/avformat.h3
-rw-r--r--libavformat/version_major.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 49e50a5120..ac40e197f6 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1242,9 +1242,6 @@ typedef struct AVFormatContext {
*/
#define AVFMT_FLAG_BITEXACT 0x0400
#define AVFMT_FLAG_SORT_DTS 0x10000 ///< try to interleave outputted packets by dts (using this flag can slow demuxing down)
-#if FF_API_LAVF_PRIV_OPT
-#define AVFMT_FLAG_PRIV_OPT 0x20000 ///< Enable use of private options by delaying codec open (deprecated, does nothing)
-#endif
#define AVFMT_FLAG_FAST_SEEK 0x80000 ///< Enable fast, but inaccurate seeks for some formats
#define AVFMT_FLAG_SHORTEST 0x100000 ///< Stop muxing when the shortest stream stops.
#define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxer
diff --git a/libavformat/version_major.h b/libavformat/version_major.h
index 86af3ee4a5..abc1699685 100644
--- a/libavformat/version_major.h
+++ b/libavformat/version_major.h
@@ -41,7 +41,6 @@
* at once through the bump. This improves the git bisect-ability of the change.
*
*/
-#define FF_API_LAVF_PRIV_OPT (LIBAVFORMAT_VERSION_MAJOR < 60)
#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 60)
#define FF_API_AVIOCONTEXT_WRITTEN (LIBAVFORMAT_VERSION_MAJOR < 60)
#define FF_HLS_TS_OPTIONS (LIBAVFORMAT_VERSION_MAJOR < 60)