This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Do not drop packets with no valid ->pos set as e.g. DV-in-AVI produces.
Fixes ticket
#140
.
tags/n0.8
Reimar Döffinger
14 years ago
parent
fa1195227f
commit
1a9f9f81b1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/avidec.c
+ 1
- 1
libavformat/avidec.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save