diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/mpa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index c0e0f38c64..d3a09ce4fc 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c | |||
@@ -418,8 +418,7 @@ next_track: | |||
418 | } | 418 | } |
419 | 419 | ||
420 | if (mad_frame_decode(&frame, &stream)) { | 420 | if (mad_frame_decode(&frame, &stream)) { |
421 | if (stream.error == MAD_FLAG_INCOMPLETE | 421 | if (stream.error == MAD_ERROR_BUFLEN) { |
422 | || stream.error == MAD_ERROR_BUFLEN) { | ||
423 | /* This makes the codec support partially corrupted files */ | 422 | /* This makes the codec support partially corrupted files */ |
424 | if (file_end == 30) | 423 | if (file_end == 30) |
425 | break; | 424 | break; |