Cl?ment B?sch <ubitux at gmail.com> writes:
> + if (ret > ID3v1_TAG_SIZE) {
> + uint8_t *buf = &pkt->data[ret - ID3v1_TAG_SIZE];
> + uint32_t v = AV_RB24(buf);
> + if (v == MKBETAG(0, 'T', 'A', 'G'))
> + ret -= ID3v1_TAG_SIZE;
> + }
memcmp(buf, "TAG", 3);
--
M?ns Rullg?rd
mans at mansr.com