diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/mpa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 0f575924d0..281a7abba1 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c | |||
@@ -220,6 +220,7 @@ next_track: | |||
220 | 220 | ||
221 | if (max < 0) max = 0; | 221 | if (max < 0) max = 0; |
222 | if (max < framelength) framelength = (int)max; | 222 | if (max < framelength) framelength = (int)max; |
223 | if (framelength == 0 && frame_skip == 0) break; | ||
223 | } | 224 | } |
224 | 225 | ||
225 | /* Check if sample rate and stereo settings changed in this frame. */ | 226 | /* Check if sample rate and stereo settings changed in this frame. */ |