# HG changeset patch # User aurel # Date 1204730366 0 # Node ID ff4fa36b555e26360c68328538f361434a7f67ef # Parent 6efe6fb35b1ac261646b556aae65cbcbc15eea4a define BI frame type along with other frame types diff -r 6efe6fb35b1a -r ff4fa36b555e avcodec.h --- a/avcodec.h Wed Mar 05 15:15:07 2008 +0000 +++ b/avcodec.h Wed Mar 05 15:19:26 2008 +0000 @@ -757,6 +757,7 @@ #define FF_S_TYPE 4 // S(GMC)-VOP MPEG4 #define FF_SI_TYPE 5 #define FF_SP_TYPE 6 +#define FF_BI_TYPE 7 #define FF_BUFFER_HINTS_VALID 0x01 // Buffer hints value is meaningful (if 0 ignore). #define FF_BUFFER_HINTS_READABLE 0x02 // Codec will read from buffer. diff -r 6efe6fb35b1a -r ff4fa36b555e utils.c --- a/utils.c Wed Mar 05 15:15:07 2008 +0000 +++ b/utils.c Wed Mar 05 15:19:26 2008 +0000 @@ -1289,6 +1289,7 @@ case FF_S_TYPE: return 'S'; case FF_SI_TYPE:return 'i'; case FF_SP_TYPE:return 'p'; + case FF_BI_TYPE:return 'b'; default: return '?'; } } diff -r 6efe6fb35b1a -r ff4fa36b555e vc1.h --- a/vc1.h Wed Mar 05 15:15:07 2008 +0000 +++ b/vc1.h Wed Mar 05 15:19:26 2008 +0000 @@ -128,7 +128,7 @@ //@} /** One more frame type */ -#define BI_TYPE 7 +#define BI_TYPE FF_BI_TYPE enum CodingSet { CS_HIGH_MOT_INTRA = 0,