[FFmpeg-devel] [PATCH]lavf/decimate: Fix total difference for the first frame

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jan 4 18:17:36 CET 2016


Derek Buitenhuis <derek.buitenhuis <at> gmail.com> writes:

> > -        dm->queue[dm->fid].totdiff  = INT64_MAX;
> > +        dm->queue[dm->fid].totdiff  = dm->scthresh;
> 
> Upstream uses +1 here, but I'm not sure why

I wish I would understand;-(

Since this fixes a reported issue here, I will 
commit my patch if nobody objects.

Carl Eugen



More information about the ffmpeg-devel mailing list