// 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;
}
AVFormatContext *s= nut->avf;
ByteIOContext *bc = &s->pb;
int64_t end, tmp;
- AVRational time_base;
nut->last_syncpoint_pos= url_ftell(bc)-8;
av_log(s, AV_LOG_DEBUG, "read_timestamp(X,%d,%"PRId64",%"PRId64")\n", stream_index, *pos_arg, pos_limit);
pos= *pos_arg;
-resync:
do{
pos= find_startcode(bc, SYNCPOINT_STARTCODE, pos)+1;
if(pos < 1){