diff nut.c @ 2336:59fa1bf41c5d libavformat

move crc wrapper to slightly better spot
author michael
date Thu, 09 Aug 2007 16:46:48 +0000
parents 5b5e1edd462e
children 4a06a51ceb70
line wrap: on
line diff
--- a/nut.c	Thu Aug 09 16:29:30 2007 +0000
+++ b/nut.c	Thu Aug 09 16:46:48 2007 +0000
@@ -21,6 +21,10 @@
 
 #include "nut.h"
 
+unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len){
+    return av_crc(av_crc04C11DB7, checksum, buf, len);
+}
+
 void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val){
     int i;
     for(i=0; i<nut->avf->nb_streams; i++){