forked from len0rd/rockbox
Comment further unused code in libmad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27160 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4c026f0c7f
commit
c6ced1c466
5 changed files with 15 additions and 5 deletions
|
|
@ -79,8 +79,9 @@ void mad_header_init(struct mad_header *header)
|
|||
|
||||
header->flags = 0;
|
||||
header->private_bits = 0;
|
||||
|
||||
/* rockbox: not used
|
||||
header->duration = mad_timer_zero;
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -374,9 +375,11 @@ int mad_header_decode(struct mad_header *header, struct mad_stream *stream)
|
|||
goto fail;
|
||||
|
||||
/* calculate frame duration */
|
||||
/* rockbox: not used
|
||||
mad_timer_set(&header->duration, 0,
|
||||
32 * MAD_NSBSAMPLES(header), header->samplerate);
|
||||
|
||||
*/
|
||||
|
||||
/* calculate free bit rate */
|
||||
if (header->bitrate == 0) {
|
||||
if ((stream->freerate == 0 || !stream->sync ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue