smacker: fix a few off by 1 errors
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Sep 2011 23:14:44 +0000 (01:14 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 17:46:34 +0000 (19:46 +0200)
commite952ff69810d370c361ece5dfe33a7bcd7a64e40
treea0d6b692784d9fd7bd465f1754c093eaa58d180e
parent9cee26dfdebe25f0370172b939bd2e0c9e43c2df
smacker: fix a few off by 1 errors
stereo & 16bit is untested due to lack of samples

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit d67e74929c2c0d09383c2f4a9c904bfdd839c67c)
libavcodec/smacker.c
tests/ref/fate/smacker