diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-13 21:29:01 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-13 21:29:01 +0000 |
commit | b9a73d8d2f1930bf705c836a09f0514480799898 (patch) | |
tree | d51488f147cd0a40387e6697f1787f339ae404e9 /libavformat/nut.c | |
parent | 43865cf092b2e623346fe0d3cbd1a175b9663408 (diff) | |
download | ffmpeg-b9a73d8d2f1930bf705c836a09f0514480799898.tar.gz |
move adler32 to libavutil
Originally committed as revision 5731 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nut.c')
-rw-r--r-- | libavformat/nut.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c index 0bb242a5c2..a33dfb8914 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -34,6 +34,7 @@ #include "avformat.h" #include "mpegaudio.h" #include "riff.h" +#include "adler32.h" #undef NDEBUG #include <assert.h> @@ -330,7 +331,7 @@ static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_ch size= get_v(bc); - init_checksum(bc, calculate_checksum ? update_adler32 : NULL, 0); + init_checksum(bc, calculate_checksum ? av_adler32_update : NULL, 0); nut->packet_start[2] = start; nut->written_packet_size= size; @@ -475,7 +476,7 @@ static int put_packetheader(NUTContext *nut, ByteIOContext *bc, int max_size, in put_v(bc, nut->written_packet_size); /* forward ptr */ if(calculate_checksum) - init_checksum(bc, update_adler32, 0); + init_checksum(bc, av_adler32_update, 0); return 0; } |