mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-26 21:10:34 +00:00
Do not drop packets with no valid ->pos set as e.g. DV-in-AVI produces.
Fixes ticket #140.
This commit is contained in:
parent
fa1195227f
commit
1a9f9f81b1
@ -1016,7 +1016,7 @@ resync:
|
||||
ast->packet_size= 0;
|
||||
}
|
||||
|
||||
if(!avi->non_interleaved && ast->seek_pos > pkt->pos){
|
||||
if(!avi->non_interleaved && pkt->pos >= 0 && ast->seek_pos > pkt->pos){
|
||||
av_free_packet(pkt);
|
||||
goto resync;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user