changeset 6456:ff4fa36b555e libavcodec

define BI frame type along with other frame types
author aurel
date Wed, 05 Mar 2008 15:19:26 +0000
parents 6efe6fb35b1a
children f88fc47e8e46
files avcodec.h utils.c vc1.h
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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 '?';
     }
 }
--- 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,