diff avcodec.h @ 7034:130784da5595 libavcodec

uniformize trellis quant option
author bcoudurier
date Mon, 09 Jun 2008 00:43:07 +0000
parents 05a09fe93944
children e943e1409077
line wrap: on
line diff
--- a/avcodec.h	Sun Jun 08 21:09:02 2008 +0000
+++ b/avcodec.h	Mon Jun 09 00:43:07 2008 +0000
@@ -427,7 +427,9 @@
 #define CODEC_FLAG_INTERLACED_DCT 0x00040000 ///< Use interlaced DCT.
 #define CODEC_FLAG_LOW_DELAY      0x00080000 ///< Force low delay.
 #define CODEC_FLAG_ALT_SCAN       0x00100000 ///< Use alternate scan.
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
 #define CODEC_FLAG_TRELLIS_QUANT  0x00200000 ///< Use trellis quantization.
+#endif
 #define CODEC_FLAG_GLOBAL_HEADER  0x00400000 ///< Place global headers in extradata instead of every keyframe.
 #define CODEC_FLAG_BITEXACT       0x00800000 ///< Use only bitexact stuff (except (I)DCT).
 /* Fx : Flag for h263+ extra options */