summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-12-04 11:47:24 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-12-04 11:47:24 +0000
commitce3bcaeda1dec8bdc25d4daf5a8358feafe5d124 (patch)
treedb00d0a54f159194d5739289396a823f87405551 /libavcodec/avcodec.h
parentdc172cc13bf9030c98a9b8b4e28c6052c848e469 (diff)
fixing illegal 3. esc bug (the mpeg4 std only requires encoders to use unescaped symbols but not esc1 or esc2 if they are shorter than esc3, andjust beause its logical to use the shortest possible vlc doesnt mean encoders do that)
Originally committed as revision 1304 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e2972696a8..e6c14afa0e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -548,12 +548,16 @@ typedef struct AVCodecContext {
float b_quant_offset;
/**
- * error resilience {-1,0,1} higher values will detect more errors but may missdetect
+ * error resilience higher values will detect more errors but may missdetect
* some more or less valid parts as errors
* encoding: unused
* decoding: set by user
*/
int error_resilience;
+#define FF_ER_CAREFULL 1
+#define FF_ER_COMPLIANT 2
+#define FF_ER_AGGRESSIVE 3
+#define FF_ER_VERY_AGGRESSIVE 4
/**
* called at the beginning of each frame to get a buffer for it.