]> git.sesse.net Git - ffmpeg/commitdiff
Strides in Indeo 5 reconstruction filter should be signed,
authorJindřich Makovička <makovick@gmail.com>
Sat, 27 Feb 2010 14:08:06 +0000 (14:08 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 27 Feb 2010 14:08:06 +0000 (14:08 +0000)
this way it works on 64-bit archs too.

Patch by Jindřich Makovička ($lastname without last letter and háček, gmail)

Originally committed as revision 22093 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ivi_dsp.c

index a58fcc52da3cba3d67243ebcbd241bd05da24594..f18f378aefc1e897c9f0f4d48cf5e3a00507d339 100644 (file)
@@ -38,7 +38,7 @@ void ff_ivi_recompose53(const IVIPlaneDesc *plane, uint8_t *dst,
     int32_t         p0, p1, p2, p3, tmp0, tmp1, tmp2;
     int32_t         b0_1, b0_2, b1_1, b1_2, b1_3, b2_1, b2_2, b2_3, b2_4, b2_5, b2_6;
     int32_t         b3_1, b3_2, b3_3, b3_4, b3_5, b3_6, b3_7, b3_8, b3_9;
-    uint32_t        pitch, back_pitch;
+    int32_t         pitch, back_pitch;
     const IDWTELEM *b0_ptr, *b1_ptr, *b2_ptr, *b3_ptr;
 
     /* all bands should have the same pitch */