# HG changeset patch # User bcoudurier # Date 1149858637 0 # Node ID 13829fcefa8102da8adddaca53b1ad1f8b393209 # Parent 937f14bb0f2320bdb9b58ba457a1393bbb7b9049 fix closed gop flag diff -r 937f14bb0f23 -r 13829fcefa81 avcodec.h --- a/avcodec.h Sun Jun 04 21:54:58 2006 +0000 +++ b/avcodec.h Fri Jun 09 13:10:37 2006 +0000 @@ -330,7 +330,7 @@ #define CODEC_FLAG_H263P_SLICE_STRUCT 0x10000000 #define CODEC_FLAG_INTERLACED_ME 0x20000000 ///< interlaced motion estimation #define CODEC_FLAG_SVCD_SCAN_OFFSET 0x40000000 ///< will reserve space for SVCD scan offset user data -#define CODEC_FLAG_CLOSED_GOP 0x80000000 +#define CODEC_FLAG_CLOSED_GOP ((int)0x80000000) #define CODEC_FLAG2_FAST 0x00000001 ///< allow non spec compliant speedup tricks #define CODEC_FLAG2_STRICT_GOP 0x00000002 ///< strictly enforce GOP size #define CODEC_FLAG2_NO_OUTPUT 0x00000004 ///< skip bitstream encoding