mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
lavc: Drop deprecated thread opaque and codec pkt
These fields were never part of the public API.
This commit is contained in:
@@ -2714,14 +2714,6 @@ typedef struct AVCodecContext {
|
|||||||
*/
|
*/
|
||||||
int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count);
|
int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count);
|
||||||
|
|
||||||
#if FF_API_THREAD_OPAQUE
|
|
||||||
/**
|
|
||||||
* @deprecated this field should not be used from outside of lavc
|
|
||||||
*/
|
|
||||||
attribute_deprecated
|
|
||||||
void *thread_opaque;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* noise vs. sse weight for the nsse comparsion function
|
* noise vs. sse weight for the nsse comparsion function
|
||||||
* - encoding: Set by user.
|
* - encoding: Set by user.
|
||||||
@@ -2866,14 +2858,6 @@ typedef struct AVCodecContext {
|
|||||||
int error_rate;
|
int error_rate;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if FF_API_CODEC_PKT
|
|
||||||
/**
|
|
||||||
* @deprecated this field is not supposed to be accessed from outside lavc
|
|
||||||
*/
|
|
||||||
attribute_deprecated
|
|
||||||
AVPacket *pkt;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VBV delay coded in the last frame (in periods of a 27 MHz clock).
|
* VBV delay coded in the last frame (in periods of a 27 MHz clock).
|
||||||
* Used for compliant TS muxing.
|
* Used for compliant TS muxing.
|
||||||
|
|||||||
@@ -81,12 +81,6 @@
|
|||||||
#ifndef FF_API_ASPECT_EXTENDED
|
#ifndef FF_API_ASPECT_EXTENDED
|
||||||
#define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 57)
|
#define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 57)
|
||||||
#endif
|
#endif
|
||||||
#ifndef FF_API_THREAD_OPAQUE
|
|
||||||
#define FF_API_THREAD_OPAQUE (LIBAVCODEC_VERSION_MAJOR < 57)
|
|
||||||
#endif
|
|
||||||
#ifndef FF_API_CODEC_PKT
|
|
||||||
#define FF_API_CODEC_PKT (LIBAVCODEC_VERSION_MAJOR < 57)
|
|
||||||
#endif
|
|
||||||
#ifndef FF_API_ARCH_ALPHA
|
#ifndef FF_API_ARCH_ALPHA
|
||||||
#define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 57)
|
#define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 57)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user