mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-15 08:02:34 -05:00
Fix a comment in OMA metadata parser. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24683 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2e314093c8
commit
faec50d67b
1 changed files with 2 additions and 3 deletions
|
|
@ -148,9 +148,8 @@ int oma_read_header(int fd, struct mp3entry* id3)
|
||||||
id3->bitrate = id3->frequency * id3->bytesperframe * 8 / (1024 * 1000);
|
id3->bitrate = id3->frequency * id3->bytesperframe * 8 / (1024 * 1000);
|
||||||
|
|
||||||
/* fake the atrac3 extradata (wav format, makes stream copy to wav work) */
|
/* fake the atrac3 extradata (wav format, makes stream copy to wav work) */
|
||||||
/* ATRAC3 expects and extra-data size of 14 bytes for wav format; extra-data size *
|
/* ATRAC3 expects and extra-data size of 14 bytes for wav format, and *
|
||||||
* is stored in ATRAC3Context before initializing the decoder. *
|
* looks for that in the id3v2buf. */
|
||||||
* We use id3v2buf to hold the (fake) extra-data provided from the container. */
|
|
||||||
id3->extradata_size = 14;
|
id3->extradata_size = 14;
|
||||||
AV_WL16(&id3->id3v2buf[0], 1); // always 1
|
AV_WL16(&id3->id3v2buf[0], 1); // always 1
|
||||||
AV_WL32(&id3->id3v2buf[2], id3->frequency); // samples rate
|
AV_WL32(&id3->id3v2buf[2], id3->frequency); // samples rate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue