aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mp3_decode.c')
-rw-r--r--src/mp3_decode.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c
index 116083eb5..501042f76 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -213,7 +213,9 @@ int decodeNextFrameHeader(mp3DecodeData * data) {
}
}
#endif
- if(MAD_RECOVERABLE((data->stream).error)) return DECODE_SKIP;
+ if(MAD_RECOVERABLE((data->stream).error)) {
+ return DECODE_SKIP;
+ }
else {
if((data->stream).error==MAD_ERROR_BUFLEN) return DECODE_CONT;
else
@@ -249,7 +251,9 @@ int decodeNextFrame(mp3DecodeData * data) {
}
}
#endif
- if(MAD_RECOVERABLE((data->stream).error)) return DECODE_SKIP;
+ if(MAD_RECOVERABLE((data->stream).error)) {
+ return DECODE_SKIP;
+ }
else {
if((data->stream).error==MAD_ERROR_BUFLEN) return DECODE_CONT;
else