Commit 6c593f1b authored by Michael Niedermayer's avatar Michael Niedermayer

avidec: dont randomly skip packets for offseting the index

Fixes Ticket2490
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 24c65eb2
......@@ -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) {
......
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