diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-17 12:56:25 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-03-30 07:47:08 +0200 |
commit | 4c4427a75da1cbb81f3097e0a0fbd6755516bc0d (patch) | |
tree | 029c58e33df34304098af90a94b87f549f281b86 /libavformat/nutdec.c | |
parent | ce02f9becfc2e89bf552a86303b00d0b36323cdf (diff) | |
download | ffmpeg-4c4427a75da1cbb81f3097e0a0fbd6755516bc0d.tar.gz |
avio: make init_checksum() internal.
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 0968faf39c..1191962b50 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -104,14 +104,14 @@ static int get_packetheader(NUTContext *nut, AVIOContext *bc, int calculate_chec startcode= av_be2ne64(startcode); startcode= ff_crc04C11DB7_update(0, (uint8_t*)&startcode, 8); - init_checksum(bc, ff_crc04C11DB7_update, startcode); + ffio_init_checksum(bc, ff_crc04C11DB7_update, startcode); size= ffio_read_varlen(bc); if(size > 4096) avio_rb32(bc); if(get_checksum(bc) && size > 4096) return -1; - init_checksum(bc, calculate_checksum ? ff_crc04C11DB7_update : NULL, 0); + ffio_init_checksum(bc, calculate_checksum ? ff_crc04C11DB7_update : NULL, 0); return size; } |