vf_yadif: Fixed potential access violation on EOF.
authorRobert Nagy <ronag89@gmail.com>
Mon, 21 May 2012 22:14:48 +0000 (00:14 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 22 May 2012 12:59:27 +0000 (14:59 +0200)
commit965b8072781b439b36835a3df345a4c68e0c211f
treeb92da1d9ebaf35888396f71baeda0e240c8b3912
parent1dd71e1cd5eac942666f95f406f7aed81c5ab208
vf_yadif: Fixed potential access violation on EOF.

The correct invariant is (cur != NULL -> next != NULL). Not the other way around.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_yadif.c