Commit 7f8b3226 authored by kostya's avatar kostya

0x00000103 is not an escape marker

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7807 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 81d850f1
...@@ -50,7 +50,6 @@ static const uint16_t table_mb_intra[64][2]; ...@@ -50,7 +50,6 @@ static const uint16_t table_mb_intra[64][2];
//@{ //@{
enum VC1Code{ enum VC1Code{
VC1_CODE_RES0 = 0x00000100, VC1_CODE_RES0 = 0x00000100,
VC1_CODE_ESCAPE = 0x00000103,
VC1_CODE_ENDOFSEQ = 0x0000010A, VC1_CODE_ENDOFSEQ = 0x0000010A,
VC1_CODE_SLICE, VC1_CODE_SLICE,
VC1_CODE_FIELD, VC1_CODE_FIELD,
...@@ -4107,7 +4106,7 @@ static void vc1_decode_blocks(VC1Context *v) ...@@ -4107,7 +4106,7 @@ static void vc1_decode_blocks(VC1Context *v)
} }
} }
#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 /** Find VC-1 marker in buffer
* @return position where next marker starts or end of buffer if no marker found * @return position where next marker starts or end of buffer if no marker found
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment