Commit c0aa89ee authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mpeg4video_parser: Avoid litteral 0x1B6, use named constant instead

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent a47bd1cd
......@@ -46,7 +46,7 @@ int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
if (!vop_found) {
for (i = 0; i < buf_size; i++) {
state = (state << 8) | buf[i];
if (state == 0x1B6) {
if (state == VOP_STARTCODE) {
i++;
vop_found = 1;
break;
......
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