summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-12 22:38:55 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-12 22:38:55 +0100
commitdb594f65ec4e4a8d85113f309f3d9c31959b48e3 (patch)
treec097024735bb75c6a3920b2dc9d4ca1a8f965302
parent5beddbc4cf81fc29866981cdf62de76299627ed0 (diff)
parent845017105f240ac5348aad1f8a5256b86d49db76 (diff)
Merge commit '845017105f240ac5348aad1f8a5256b86d49db76'
* commit '845017105f240ac5348aad1f8a5256b86d49db76': lavc: remove disabled FF_API_DSP_MASK cruft lavc: remove disabled FF_API_SUB_ID cruft Conflicts: libavcodec/options_table.h libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/avcodec.h15
-rw-r--r--libavcodec/options_table.h3
-rw-r--r--libavcodec/version.h6
3 files changed, 0 insertions, 24 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index db56f8b2b8..73d112daa4 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1159,13 +1159,6 @@ typedef struct AVCodecContext {
*/
unsigned int stream_codec_tag;
-#if FF_API_SUB_ID
- /**
- * @deprecated this field is unused
- */
- attribute_deprecated int sub_id;
-#endif
-
void *priv_data;
/**
@@ -2545,14 +2538,6 @@ typedef struct AVCodecContext {
#define FF_IDCT_BINK 24
#endif
-#if FF_API_DSP_MASK
- /**
- * Unused.
- * @deprecated use av_set_cpu_flags_mask() instead.
- */
- attribute_deprecated unsigned dsp_mask;
-#endif
-
/**
* bits per sample/pixel from the demuxer (needed for huffyuv).
* - encoding: Set by libavcodec.
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index 626e00240e..0fd38d6eeb 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -76,9 +76,6 @@ static const AVOption options[]={
{"local_header", "place global headers at every keyframe instead of in extradata", 0, AV_OPT_TYPE_CONST, {.i64 = CODEC_FLAG2_LOCAL_HEADER }, INT_MIN, INT_MAX, V|E, "flags2"},
{"chunks", "Frame data might be split into multiple chunks", 0, AV_OPT_TYPE_CONST, {.i64 = CODEC_FLAG2_CHUNKS }, INT_MIN, INT_MAX, V|D, "flags2"},
{"showall", "Show all frames before the first keyframe", 0, AV_OPT_TYPE_CONST, {.i64 = CODEC_FLAG2_SHOW_ALL }, INT_MIN, INT_MAX, V|D, "flags2"},
-#if FF_API_SUB_ID
-{"sub_id", NULL, OFFSET(sub_id), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX},
-#endif
{"me_method", "set motion estimation method", OFFSET(me_method), AV_OPT_TYPE_INT, {.i64 = ME_EPZS }, INT_MIN, INT_MAX, V|E, "me_method"},
{"zero", "zero motion estimation (fastest)", 0, AV_OPT_TYPE_CONST, {.i64 = ME_ZERO }, INT_MIN, INT_MAX, V|E, "me_method" },
{"full", "full motion estimation (slowest)", 0, AV_OPT_TYPE_CONST, {.i64 = ME_FULL }, INT_MIN, INT_MAX, V|E, "me_method" },
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 6ab9126e1e..48dc26e385 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -70,12 +70,6 @@
#ifndef FF_API_OLD_ENCODE_VIDEO
#define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 56)
#endif
-#ifndef FF_API_SUB_ID
-#define FF_API_SUB_ID (LIBAVCODEC_VERSION_MAJOR < 55)
-#endif
-#ifndef FF_API_DSP_MASK
-#define FF_API_DSP_MASK (LIBAVCODEC_VERSION_MAJOR < 55)
-#endif
#ifndef FF_API_FIND_BEST_PIX_FMT
#define FF_API_FIND_BEST_PIX_FMT (LIBAVCODEC_VERSION_MAJOR < 55)
#endif