ffmpeg/libavfilter
Ray Simard 9ec39937f9 deshake: variable used uninitialized
Sometimes the scan finds nothing that qualifies for addition to
the array and pos is zero after the loops.  The code forces pos to
1 and the array is then processed as if it had one valid element in it,
producing some amusing but not very useful results.

I don't see the rationale for this.  If pos is zero coming out of the
loops, the only appropriate thing to do is set t->angle to zero.  The
attached patch does that.  It's worked properly in several tests so far.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-21 05:22:49 +01:00
..
2011-12-31 16:25:11 +01:00
2011-12-27 15:21:08 +01:00
2011-12-04 21:13:22 +01:00
2011-12-13 21:08:43 +01:00
2011-11-25 04:45:41 +01:00
2011-11-14 05:42:10 +01:00
2011-12-11 11:55:33 +01:00