History

lavc/packet: schedule AV_PKT_DATA_QUALITY_FACTOR for removal

It is unused internally and has been marked as deprecated a long time ago.

Anton Khirnov committed 2 years ago

Commit c240ff91 parent 1d843ae2 files · +3 −0Browse files

Unified · Split

2 files
  1. libavcodec/packet.h +2 −0
  2. libavcodec/version_major.h +1 −0
libavcodec/packet.h+2−0
@@ -341,7 +341,9 @@ enum AVPacketSideDataType { · 340 unmodified lines
341341 AV_PKT_DATA_NB
342342 };
343343
344+#if FF_API_QUALITY_FACTOR
344345 #define AV_PKT_DATA_QUALITY_FACTOR AV_PKT_DATA_QUALITY_STATS //DEPRECATED
346+#endif
345347
346348 /**
347349 * This structure stores auxiliary information for decoding, presenting, or
libavcodec/version_major.h+1−0
@@ -47,5 +47,6 @@ · 46 unmodified lines
4747 #define FF_API_AVCODEC_CLOSE (LIBAVCODEC_VERSION_MAJOR < 62)
4848 #define FF_API_BUFFER_MIN_SIZE (LIBAVCODEC_VERSION_MAJOR < 62)
4949 #define FF_API_VDPAU_ALLOC_GET_SET (LIBAVCODEC_VERSION_MAJOR < 62)
50+#define FF_API_QUALITY_FACTOR (LIBAVCODEC_VERSION_MAJOR < 62)
5051
5152 #endif /* AVCODEC_VERSION_MAJOR_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t