libavcodec: add CODEC_CAP_LOSSLESS
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Jun 2011 19:53:20 +0000 (21:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Jun 2011 01:54:15 +0000 (03:54 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/avcodec.h

index ef539a2..90c389b 100644 (file)
@@ -688,6 +688,10 @@ typedef struct RcOverride{
  * Codec supports slice-based (or partition-based) multithreading.
  */
 #define CODEC_CAP_SLICE_THREADS    0x2000
+/**
+ * Codec is lossless.
+ */
+#define CODEC_CAP_LOSSLESS         0x80000000
 
 //The following defines may change, don't expect compatibility if you use them.
 #define MB_TYPE_INTRA4x4   0x0001