Browse Source

avidec: dont randomly skip packets for offseting the index

Fixes Ticket2490

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
6c593f1b67
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/avidec.c

+ 2
- 2
libavformat/avidec.c View File

@@ -1022,9 +1022,9 @@ start_sync:
|| st->discard >= AVDISCARD_ALL){
if (!exit_early) {
ast->frame_offset += get_duration(ast, size);
avio_skip(pb, size);
goto start_sync;
}
avio_skip(pb, size);
goto start_sync;
}

if (d[2] == 'p' && d[3] == 'c' && size<=4*256+4) {


Loading…
Cancel
Save