mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
move crc wrapper to slightly better spot
Originally committed as revision 10022 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3af56110d4
commit
5c2198b184
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user