1
0
Fork 0
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:
Rafaël Carré 2010-08-01 16:38:58 +00:00
parent 90b48cd721
commit 5574af8334

View file

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