Browse Source

mpeg12: fixed parsing in some mpeg2 streams

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n0.11
Hendrik Leppkes Derek Buitenhuis 13 years ago
parent
commit
1d4a01474d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mpeg12.c

+ 1
- 0
libavcodec/mpeg12.c View File

@@ -2161,6 +2161,7 @@ int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size,
pc->frame_start_found = 4;
}
if (state == SEQ_END_CODE) {
pc->frame_start_found = 0;
pc->state=-1;
return i+1;
}


Loading…
Cancel
Save