aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-05-08 20:15:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-08 20:15:42 +0000
commit9cd81798187567c1495c595443923951c0c06926 (patch)
treeab1bed1b8a627f75e4aa82e41039293a2c4f51a2 /libavcodec/avcodec.h
parentc998bdd9a03d3efa42bfba447579330d51d033fa (diff)
downloadffmpeg-9cd81798187567c1495c595443923951c0c06926.tar.gz
#defines for strict_std_compliance and split between inofficial extensions and non standarized things
Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 83514e676d..bb84d158a3 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -954,7 +954,12 @@ typedef struct AVCodecContext {
* - decoding: unused
*/
int strict_std_compliance;
-
+#define FF_COMPLIANCE_VERY_STRICT 2 ///< strictly conform to a older more strict version of the spec or reference software
+#define FF_COMPLIANCE_STRICT 1 ///< strictly conform to all the things in the spec no matter what consequences
+#define FF_COMPLIANCE_NORMAL 0
+#define FF_COMPLIANCE_INOFFICIAL -1 ///< allow inofficial extensions
+#define FF_COMPLIANCE_EXPERIMENTAL -2 ///< allow non standarized experimental things
+
/**
* qscale offset between ip and b frames.
* if > 0 then the last p frame quantizer will be used (q= lastp_q*factor+offset)