lavfi/mp=decimate: fix off-by-one logic in diff_C() x loop
authorStefano Sabatini <stefasab@gmail.com>
Wed, 29 Aug 2012 11:08:49 +0000 (13:08 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 31 Aug 2012 14:04:12 +0000 (16:04 +0200)
commit6c0107822d3ed7588fa857c3ed1ee886b4ba62e9
tree8cbc085e93ba0b74a8af64c316a56ed1d01bcfee
parente64b941dbce5aa5500abdf58c1d2d4e5e13b7b30
lavfi/mp=decimate: fix off-by-one logic in diff_C() x loop

Set x offset values in the range 0-7, rather than in the range 8-1.

The y loop is changed accordingly, to avoid confusion.

This also fixes output difference with the new pending native decimate
filter.
libavfilter/libmpcodecs/vf_decimate.c