changeset 4464:b619aebd8469 libavcodec

0x00000103 is not an escape marker
author kostya
date Fri, 02 Feb 2007 15:14:13 +0000
parents 6018c147ea93
children 5c94205a4730
files vc1.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Fri Feb 02 10:25:30 2007 +0000
+++ b/vc1.c	Fri Feb 02 15:14:13 2007 +0000
@@ -50,7 +50,6 @@
 //@{
 enum VC1Code{
     VC1_CODE_RES0       = 0x00000100,
-    VC1_CODE_ESCAPE     = 0x00000103,
     VC1_CODE_ENDOFSEQ   = 0x0000010A,
     VC1_CODE_SLICE,
     VC1_CODE_FIELD,
@@ -4107,7 +4106,7 @@
     }
 }
 
-#define IS_MARKER(x) ((((x) & ~0xFF) == VC1_CODE_RES0) && ((x) != VC1_CODE_ESCAPE))
+#define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0)
 
 /** Find VC-1 marker in buffer
  * @return position where next marker starts or end of buffer if no marker found