Commit 5c2198b1 authored by Michael Niedermayer's avatar Michael Niedermayer

move crc wrapper to slightly better spot

Originally committed as revision 10022 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3af56110
......@@ -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++){
......
......@@ -92,12 +92,7 @@ typedef struct {
struct AVTreeNode *syncpoints;
} NUTContext;
//FIXME move to a common spot, like crc.c/h
static unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len){
return av_crc(av_crc04C11DB7, checksum, buf, len);
}
unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len);
void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val);
#endif /* AVFORMAT_NUT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment