/* need more data */
return 0;
}
- avpriv_flac_parse_block_header(&buf[4], NULL, &metadata_type, &metadata_size);
+ flac_parse_block_header(&buf[4], NULL, &metadata_type, &metadata_size);
if (metadata_type != FLAC_METADATA_TYPE_STREAMINFO ||
metadata_size != FLAC_STREAMINFO_SIZE) {
return AVERROR_INVALIDDATA;
do {
if (buf_end - buf < 4)
return 0;
- avpriv_flac_parse_block_header(buf, &metadata_last, NULL, &metadata_size);
+ flac_parse_block_header(buf, &metadata_last, NULL, &metadata_size);
buf += 4;
if (buf_end - buf < metadata_size) {
/* need more data in order to read the complete header */