aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-19 02:45:16 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-19 04:07:26 +0100
commit02bd11e9696460d5c535a32ed132cd6f518d39d6 (patch)
treedffa7d8ad8c534cbb7824f222aefecac863e0af6 /libavcodec/avcodec.h
parent328a3545c685f9756460b40d6cc0fb2f4a7e550e (diff)
downloadffmpeg-02bd11e9696460d5c535a32ed132cd6f518d39d6.tar.gz
lavc: Add AV_EF flags to restore support for the error_resilience framework in the new API.
The existing flags prior to this have a semantically different meaning and cannot be used. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 d62cbfb14c..41faaa28e0 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3009,6 +3009,10 @@ typedef struct AVCodecContext {
#define AV_EF_BUFFER (1<<2)
#define AV_EF_EXPLODE (1<<3)
+#define AV_EF_CAREFUL (1<<16)
+#define AV_EF_COMPLIANT (1<<17)
+#define AV_EF_AGGRESSIVE (1<<18)
+
/**
* Current statistics for PTS correction.
* - decoding: maintained and used by libavcodec, not intended to be used by user apps