[FFmpeg-cvslog] avutil/crc: Fix type of p table so its content fits without overflwoing
Michael Niedermayer
git at videolan.org
Fri Jun 19 02:26:49 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 19 02:16:49 2015 +0200| [d1dce1c51728b35a31248be81915f2ce6fcbb807] | committer: Michael Niedermayer
avutil/crc: Fix type of p table so its content fits without overflwoing
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d1dce1c51728b35a31248be81915f2ce6fcbb807
---
libavutil/crc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavutil/crc.c b/libavutil/crc.c
index d8b1c99..e432843 100644
--- a/libavutil/crc.c
+++ b/libavutil/crc.c
@@ -383,7 +383,8 @@ int main(void)
{
uint8_t buf[1999];
int i;
- int p[6][3] = { { AV_CRC_32_IEEE_LE, 0xEDB88320, 0x3D5CDD04 },
+ unsigned
+ p[6][3] = { { AV_CRC_32_IEEE_LE, 0xEDB88320, 0x3D5CDD04 },
{ AV_CRC_32_IEEE , 0x04C11DB7, 0xC0F5BAE0 },
{ AV_CRC_24_IEEE , 0x864CFB , 0xB704CE },
{ AV_CRC_16_ANSI_LE, 0xA001 , 0xBFD8 },
More information about the ffmpeg-cvslog
mailing list