aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-01-04 23:09:58 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-01-04 23:09:58 +0000
commit3abe5fbdc4169047421e9e8794a8f190d794b929 (patch)
tree69954b6566185ceebcd2e462cdfa6c68f0393b48 /libavformat/aviobuf.c
parent83a0d3878c54b84b21c12be1981bd30096f278f4 (diff)
downloadffmpeg-3abe5fbdc4169047421e9e8794a8f190d794b929.tar.gz
improve CRC API
- don't export any global var - provide either generated or hardcoded tables Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 507003184e..3917270b1d 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -318,7 +318,7 @@ static void fill_buffer(ByteIOContext *s)
}
unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len){
- return av_crc(av_crc04C11DB7, checksum, buf, len);
+ return av_crc(av_crc_get_table(AV_CRC_32_IEEE), checksum, buf, len);
}
unsigned long get_checksum(ByteIOContext *s){