[FFmpeg-devel] [PATCH] Do not drop packets with no valid ->pos set as e.g. DV-in-AVI produces.
Michael Niedermayer
michaelni at gmx.at
Sat Apr 30 16:39:58 CEST 2011
On Sat, Apr 30, 2011 at 11:50:48AM +0200, Reimar Döffinger wrote:
> Fixes ticket #140.
[...]
> @@ -997,7 +989,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;
> }
hunk ok
the rest of the patch looks unrelated
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110430/8f90c7f4/attachment.asc>
More information about the ffmpeg-devel
mailing list