Searched refs:frame_crc (Results 1 – 2 of 2) sorted by relevance
99 frame_crc = int.from_bytes(frame_data[-4:], 'little')100 if zlib.crc32(frame_data[:-4]) != frame_crc:
2021 uint32_t frame_crc; /* the one we calculate from the input stream */ in read_frame_() local2027 frame_crc = 0; in read_frame_()2028 frame_crc = FLAC__CRC16_UPDATE(decoder->private_->header_warmup[0], frame_crc); in read_frame_()2029 frame_crc = FLAC__CRC16_UPDATE(decoder->private_->header_warmup[1], frame_crc); in read_frame_()2030 FLAC__bitreader_reset_read_crc16(decoder->private_->input, (FLAC__uint16)frame_crc); in read_frame_()2081 frame_crc = FLAC__bitreader_get_read_crc16(decoder->private_->input); in read_frame_()2084 if(frame_crc == x) { in read_frame_()