Skip to content
Snippets Groups Projects
Commit c0aa89ee authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

parent a47bd1cd
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size) ...@@ -46,7 +46,7 @@ int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
if (!vop_found) { if (!vop_found) {
for (i = 0; i < buf_size; i++) { for (i = 0; i < buf_size; i++) {
state = (state << 8) | buf[i]; state = (state << 8) | buf[i];
if (state == 0x1B6) { if (state == VOP_STARTCODE) {
i++; i++;
vop_found = 1; vop_found = 1;
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment