[FFmpeg-devel] [PATCH] Do not drop packets with no valid ->pos set as e.g. DV-in-AVI produces.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sat Apr 30 18:09:50 CEST 2011
On Sat, Apr 30, 2011 at 04:39:58PM +0200, Michael Niedermayer wrote:
> 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
Yes, that was the only part I meant to sent.
Was probably some git usage error.
More information about the ffmpeg-devel
mailing list