diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-10-30 00:01:25 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-10-30 00:01:25 +0000 |
commit | 992e78f5f2724bf4649211aaceb353fc0e22f7ee (patch) | |
tree | 3e55120770abe0c86cbc13a97646de384985f44d /libavformat/nutdec.c | |
parent | 990e989f242ff0413aa207bc2a760c1b119ae6af (diff) | |
download | ffmpeg-992e78f5f2724bf4649211aaceb353fc0e22f7ee.tar.gz |
rename av_crc04C11DB7_update to ff_crc04C11DB7_update and move it to aviobuf.c so it can be reused by other (de)muxers
Originally committed as revision 10873 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 91b13009ea..e3b117d8bf 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -104,16 +104,16 @@ static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_ch // start= url_ftell(bc) - 8; startcode= be2me_64(startcode); - startcode= av_crc04C11DB7_update(0, &startcode, 8); + startcode= ff_crc04C11DB7_update(0, &startcode, 8); - init_checksum(bc, av_crc04C11DB7_update, startcode); + init_checksum(bc, ff_crc04C11DB7_update, startcode); size= get_v(bc); if(size > 4096) get_be32(bc); if(get_checksum(bc) && size > 4096) return -1; - init_checksum(bc, calculate_checksum ? av_crc04C11DB7_update : NULL, 0); + init_checksum(bc, calculate_checksum ? ff_crc04C11DB7_update : NULL, 0); return size; } |