[vlc-devel] [PATCH] Small fix to Deinterlace()

Laurent Aimar fenrir at elivagar.org
Tue Apr 5 10:02:01 CEST 2011


Hi,

On Wed, Mar 30, 2011 at 12:18:24AM +0300, Juha Jeronen wrote:
> Hi all,
> 
> It seems I inadvertently shot Laurent in the foot. Commit
> [8f4d34b49c719581622dbca708f92ea81221156d] says "Reset the number of
> fields to 2 after deinterlacing."
> 
> However, because the loop doing this runs only from 1 to
> DEINTERLACE_DST_SIZE, p_dst[0] never gets this treatment.
> 
> The attached patch fixes the problem. Now the loop does the sensible
> thing, so the same bug won't happen again if some other flag handling
> after deinterlacing becomes needed in the future.
 Good catch, I will commit it.

-- 
fenrir



More information about the vlc-devel mailing list