From 5574af83342522a0a2373bbd1b06af01701017ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 1 Aug 2010 16:38:58 +0000 Subject: mpegplayer mad: apply r27655 fix git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27659 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mpegplayer/audio_thread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/plugins/mpegplayer/audio_thread.c b/apps/plugins/mpegplayer/audio_thread.c index 84f0229..106eac7 100644 --- a/apps/plugins/mpegplayer/audio_thread.c +++ b/apps/plugins/mpegplayer/audio_thread.c @@ -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) -- cgit v1.1