aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/options.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-09-30 20:31:42 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-09-30 20:31:42 +0000
commit0743de4ffd063d17df7a66aa579746c4f427ae1a (patch)
treeaeff42d60301faae08ef4c5dd8c8791ce45df467 /libavcodec/options.c
parentab3efd0077a5b81b71819c3a792bb0bc59b9d60d (diff)
downloadffmpeg-0743de4ffd063d17df7a66aa579746c4f427ae1a.tar.gz
add FF_API_USE_LPC define to disable the deprecated AVCodecContext.use_lpc field
Originally committed as revision 25275 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r--libavcodec/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c
index 6a6ac78e28..e56ad44415 100644
--- a/libavcodec/options.c
+++ b/libavcodec/options.c
@@ -382,7 +382,7 @@ static const AVOption options[]={
{"ivlc", "intra vlc table", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_INTRA_VLC, INT_MIN, INT_MAX, V|E, "flags2"},
{"b_sensitivity", "adjusts sensitivity of b_frame_strategy 1", OFFSET(b_sensitivity), FF_OPT_TYPE_INT, 40, 1, INT_MAX, V|E},
{"compression_level", NULL, OFFSET(compression_level), FF_OPT_TYPE_INT, FF_COMPRESSION_DEFAULT, INT_MIN, INT_MAX, V|A|E},
-#if LIBAVCODEC_VERSION_MAJOR < 53
+#if FF_API_USE_LPC
{"use_lpc", "sets whether to use LPC mode (FLAC)", OFFSET(use_lpc), FF_OPT_TYPE_INT, -1, INT_MIN, INT_MAX, A|E},
#endif
{"lpc_coeff_precision", "LPC coefficient precision (FLAC)", OFFSET(lpc_coeff_precision), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, A|E},