aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-26 11:35:46 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:09 -0300
commit11cb635c84cd5d011abc2aade27c7498bcf29595 (patch)
tree115b5d4ab98f00c07fe86e6e137cf91c71219d4c /libavformat
parent30f7021aa0be2c978aefb73894b643c9bafbf51c (diff)
downloadffmpeg-11cb635c84cd5d011abc2aade27c7498bcf29595.tar.gz
avformat/avformat: Remove outdated private fields
Affected function pointers (always NULL) in AVInputFormat, AVOutputFormat as well as private fields of AVStream. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avformat.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index d0cc12f931..093084221a 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -578,18 +578,6 @@ typedef struct AVOutputFormat {
* @see avdevice_list_devices() for more details.
*/
int (*get_device_list)(struct AVFormatContext *s, struct AVDeviceInfoList *device_list);
-#if LIBAVFORMAT_VERSION_MAJOR < 59
- /**
- * Initialize device capabilities submodule.
- * @see avdevice_capabilities_create() for more details.
- */
- int (*create_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps);
- /**
- * Free device capabilities submodule.
- * @see avdevice_capabilities_free() for more details.
- */
- int (*free_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps);
-#endif
enum AVCodecID data_codec; /**< default data codec */
/**
* Initialize format. May allocate data here, and set any AVFormatContext or
@@ -755,19 +743,6 @@ typedef struct AVInputFormat {
*/
int (*get_device_list)(struct AVFormatContext *s, struct AVDeviceInfoList *device_list);
-#if LIBAVFORMAT_VERSION_MAJOR < 59
- /**
- * Initialize device capabilities submodule.
- * @see avdevice_capabilities_create() for more details.
- */
- int (*create_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps);
-
- /**
- * Free device capabilities submodule.
- * @see avdevice_capabilities_free() for more details.
- */
- int (*free_device_capabilities)(struct AVFormatContext *s, struct AVDeviceCapabilitiesQuery *caps);
-#endif
} AVInputFormat;
/**
* @}
@@ -1021,11 +996,6 @@ typedef struct AVStream {
*****************************************************************
*/
-#if LIBAVFORMAT_VERSION_MAJOR < 59
- // kept for ABI compatibility only, do not access in any way
- void *unused;
-#endif
-
int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */
// Timestamp generation support:
@@ -1055,16 +1025,6 @@ typedef struct AVStream {
enum AVStreamParseType need_parsing;
struct AVCodecParserContext *parser;
-#if LIBAVFORMAT_VERSION_MAJOR < 59
- // kept for ABI compatibility only, do not access in any way
- void *unused7;
- AVProbeData unused6;
- int64_t unused5[16+1];
- void *unused2;
- int unused3;
- unsigned int unused4;
-#endif
-
/**
* Stream Identifier
* This is the MPEG-TS stream identifier +1
@@ -1072,13 +1032,6 @@ typedef struct AVStream {
*/
int stream_identifier;
-#if LIBAVFORMAT_VERSION_MAJOR < 59
- // kept for ABI compatibility only, do not access in any way
- int unused8;
- int unused9;
- int unused10;
-#endif
-
/**
* An opaque field for libavformat internal usage.
* Must not be accessed in any way by callers.