aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-28 14:30:25 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-08-28 16:01:17 +0200
commit069713aa4b137781e270768d803b1f7456daa724 (patch)
tree4ad479d331d9ecad3b022c6f6ab56153b6642579
parent9f90b24877016e7140b9b14e4b1acee663bb6d8a (diff)
downloadffmpeg-069713aa4b137781e270768d803b1f7456daa724.tar.gz
lavc: Drop deprecated thread opaque and codec pkt
These fields were never part of the public API.
-rw-r--r--libavcodec/avcodec.h16
-rw-r--r--libavcodec/version.h6
2 files changed, 0 insertions, 22 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 8390bdaff6..8eca49b654 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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);
-#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
* - encoding: Set by user.
@@ -2866,14 +2858,6 @@ typedef struct AVCodecContext {
int error_rate;
#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).
* Used for compliant TS muxing.
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 2d26d4f19e..d14b1c0e4d 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -81,12 +81,6 @@
#ifndef FF_API_ASPECT_EXTENDED
#define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 57)
#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
#define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 57)
#endif