summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/mpa.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c
index 8b93810097..3e6a0455ff 100644
--- a/apps/codecs/mpa.c
+++ b/apps/codecs/mpa.c
@@ -178,16 +178,15 @@ next_track:
178 break; 178 break;
179 179
180 /* Fill the buffer */ 180 /* Fill the buffer */
181 if (stream.next_frame)
182 ci->advance_buffer_loc((void *)stream.next_frame);
183 else
184 ci->advance_buffer(size);
181 stream.error = 0; 185 stream.error = 0;
182 file_end++; 186 file_end++;
183 continue; 187 continue;
184 } else if (MAD_RECOVERABLE(stream.error)) { 188 } else if (MAD_RECOVERABLE(stream.error)) {
185 if (stream.error != MAD_ERROR_LOSTSYNC) {
186 // rb->splash(HZ*1, true, "Recoverable...!");
187 }
188 continue; 189 continue;
189 } else if (stream.error == MAD_ERROR_BUFLEN) {
190 break;
191 } else { 190 } else {
192 /* Some other unrecoverable error */ 191 /* Some other unrecoverable error */
193 status = 1; 192 status = 1;