diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 32dd4da281e81aeeaf7f6ec899c2b251611e9fb3..de94d8ed7336f07f98655ee1fea1f18e0c532b80 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -757,6 +757,7 @@ typedef struct AVPanScan{ #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 --git a/libavcodec/utils.c b/libavcodec/utils.c index 26f776e8903fa060ad6f4f53f3b90dc995a77b65..4aaedb11c5a39778bcdb16238a4fbfa76460b531 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1289,6 +1289,7 @@ char av_get_pict_type_char(int pict_type){ 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 --git a/libavcodec/vc1.h b/libavcodec/vc1.h index 12f38160bf5e3b79c14ef7602c56988759ca9739..3e92d6c340ee2f2b27e2af92730d557f4734be28 100644 --- a/libavcodec/vc1.h +++ b/libavcodec/vc1.h @@ -128,7 +128,7 @@ enum TransformTypes { //@} /** One more frame type */ -#define BI_TYPE 7 +#define BI_TYPE FF_BI_TYPE enum CodingSet { CS_HIGH_MOT_INTRA = 0,