]> git.alsa-project.org Git - tinycompress.git/commit
utils: cplay: Add support for ID3v2 tag skip
authorLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Fri, 7 Oct 2022 11:38:09 +0000 (14:38 +0300)
committerVinod Koul <3178504+vinodkoul@users.noreply.github.com>
Thu, 13 Oct 2022 08:48:17 +0000 (14:18 +0530)
commitf392c80beffd3593642f10be241f3a7019c00edc
treebb2407a966874eddbae4d6c376f5212ecec0fe98
parent51809356ba74bf40a3ce7cebf7fbb0491d9d48f0
utils: cplay: Add support for ID3v2 tag skip

This patch will allow playing MP3 files containing ID3v2
tag at the beginning of the file.

This is done simply by parsing the ID3v2 header, extracting
the header size and seeking to that position (+10 bytes
from the header size which is not included in the 'header
size' field of the ID3v2 header)

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
src/utils/cplay.c