From 34dc7aa82b3dcd95048b89a59730fbadf3ab3175 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 18 Jun 2011 21:53:20 +0200 Subject: [PATCH] libavcodec: add CODEC_CAP_LOSSLESS Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ef539a2a36..90c389b8c5 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -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