ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Sat May 2 13:43:15 2015 +0200| [dfc0708e233d725d618ea539124b18fd34063f79] | committer: Michael Niedermayer
avcodec/x86/dct-test: Use uint8_t for idct_simple_mmx_perm The table contains no element outside the unsigned 8bit range Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dfc0708e233d725d618ea539124b18fd34063f79 --- libavcodec/x86/dct-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/dct-test.c b/libavcodec/x86/dct-test.c index 75b8301..0414381 100644 --- a/libavcodec/x86/dct-test.c +++ b/libavcodec/x86/dct-test.c @@ -88,7 +88,7 @@ static const struct algo idct_tab_arch[] = { { 0 } }; -static const short idct_simple_mmx_perm[64] = { +static const uint8_t idct_simple_mmx_perm[64] = { 0x00, 0x08, 0x04, 0x09, 0x01, 0x0C, 0x05, 0x0D, 0x10, 0x18, 0x14, 0x19, 0x11, 0x1C, 0x15, 0x1D, 0x20, 0x28, 0x24, 0x29, 0x21, 0x2C, 0x25, 0x2D, _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog