aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorDustin Brody <libav@parsoma.net>2011-07-29 03:25:34 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2011-07-31 14:53:38 -0700
commit18cb40f074ec7e79b20bf9b8c8f19c55784a071c (patch)
tree7671da2a635e56c3dd8b41d8e81936a2dfa899d1 /libavcodec/avcodec.h
parent1442d295337dfc83fb66b20444c1b09a803ebb80 (diff)
downloadffmpeg-18cb40f074ec7e79b20bf9b8c8f19c55784a071c.tar.gz
lavc: Deprecate unused FF_ER_VERY_AGGRESSIVE
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 75c107c159..e1fd475ca6 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1445,8 +1445,12 @@ typedef struct AVCodecContext {
#define FF_ER_CAREFUL 1
#define FF_ER_COMPLIANT 2
#define FF_ER_AGGRESSIVE 3
+#if FF_API_VERY_AGGRESSIVE
#define FF_ER_VERY_AGGRESSIVE 4
#define FF_ER_EXPLODE 5
+#else
+#define FF_ER_EXPLODE 4
+#endif /* FF_API_VERY_AGGRESSIVE */
/**
* Called at the beginning of each frame to get a buffer for it.