forked from len0rd/rockbox
mpegplayer mad: apply r27655 fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27659 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
90b48cd721
commit
5574af8334
1 changed files with 1 additions and 2 deletions
|
@ -579,8 +579,7 @@ static void audio_thread(void)
|
|||
* at least one byte at a time */
|
||||
audio_queue_advance_pos(MAX(len, 1));
|
||||
|
||||
if (stream.error == MAD_FLAG_INCOMPLETE
|
||||
|| stream.error == MAD_ERROR_BUFLEN)
|
||||
if (stream.error == MAD_ERROR_BUFLEN)
|
||||
{
|
||||
/* This makes the codec support partially corrupted files */
|
||||
if (++td.mad_errors <= MPA_MAX_FRAME_SIZE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue