Browse Source

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.1
Michael Niedermayer 7 years ago
parent
commit
c0aa89eeee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpeg4video_parser.c

+ 1
- 1
libavcodec/mpeg4video_parser.c View File

@@ -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;


Loading…
Cancel
Save