diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-12 12:28:15 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-12 21:18:23 +0400 |
commit | a29c25a9b27456367c7550364d5ba5d7e3798323 (patch) | |
tree | 8c5a51f76ddd9ba746807a00916c156c6d203a94 /libavcodec/options.c | |
parent | d54f1e640790b9690cdb4f543f374016615ec000 (diff) |
lavc: ifdef out parse_only AVOption
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r-- | libavcodec/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index a99aed7ad1..00d80e07c3 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -215,7 +215,9 @@ static const AVOption options[]={ {"explode", "abort decoding on minor error recognition", 0, AV_OPT_TYPE_CONST, {.dbl = AV_EF_EXPLODE }, INT_MIN, INT_MAX, V|D, "err_filter"}, {"has_b_frames", NULL, OFFSET(has_b_frames), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX}, {"block_align", NULL, OFFSET(block_align), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX}, +#if FF_API_PARSE_FRAME {"parse_only", NULL, OFFSET(parse_only), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX}, +#endif {"mpeg_quant", "use MPEG quantizers instead of H.263", OFFSET(mpeg_quant), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX, V|E}, {"stats_out", NULL, OFFSET(stats_out), AV_OPT_TYPE_STRING, {.str = NULL}, CHAR_MIN, CHAR_MAX}, {"stats_in", NULL, OFFSET(stats_in), AV_OPT_TYPE_STRING, {.str = NULL}, CHAR_MIN, CHAR_MAX}, |