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:
Mohamed Tarek 2010-02-16 01:55:48 +00:00
parent 2e314093c8
commit faec50d67b

View file

@ -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