aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-03-22 21:40:18 +0100
committerAnton Khirnov <anton@khirnov.net>2024-03-29 09:01:54 +0100
commitc240ff98b3dbf46eff954bf2aa0ad3844baca4c8 (patch)
tree175fa0ad971e1f5c69041c1c5296d286db15b3e4 /libavcodec
parent1d843ae6c7b0cc8dcf4e95068c942f86fa5b1a82 (diff)
downloadffmpeg-c240ff98b3dbf46eff954bf2aa0ad3844baca4c8.tar.gz
lavc/packet: schedule AV_PKT_DATA_QUALITY_FACTOR for removal
It is unused internally and has been marked as deprecated a long time ago.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/packet.h2
-rw-r--r--libavcodec/version_major.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/packet.h b/libavcodec/packet.h
index b0ba3baea2..a9a41576da 100644
--- a/libavcodec/packet.h
+++ b/libavcodec/packet.h
@@ -341,7 +341,9 @@ enum AVPacketSideDataType {
AV_PKT_DATA_NB
};
+#if FF_API_QUALITY_FACTOR
#define AV_PKT_DATA_QUALITY_FACTOR AV_PKT_DATA_QUALITY_STATS //DEPRECATED
+#endif
/**
* This structure stores auxiliary information for decoding, presenting, or
diff --git a/libavcodec/version_major.h b/libavcodec/version_major.h
index ab1f4511b4..63df40e9dd 100644
--- a/libavcodec/version_major.h
+++ b/libavcodec/version_major.h
@@ -47,5 +47,6 @@
#define FF_API_AVCODEC_CLOSE (LIBAVCODEC_VERSION_MAJOR < 62)
#define FF_API_BUFFER_MIN_SIZE (LIBAVCODEC_VERSION_MAJOR < 62)
#define FF_API_VDPAU_ALLOC_GET_SET (LIBAVCODEC_VERSION_MAJOR < 62)
+#define FF_API_QUALITY_FACTOR (LIBAVCODEC_VERSION_MAJOR < 62)
#endif /* AVCODEC_VERSION_MAJOR_H */