diff options
Diffstat (limited to 'apps/codecs/mpa.c')
-rw-r--r-- | apps/codecs/mpa.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 6e474c1abb..4c99778071 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c | |||
@@ -199,9 +199,9 @@ next_track: | |||
199 | loop we will need to process the final frame that was decoded. */ | 199 | loop we will need to process the final frame that was decoded. */ |
200 | if (framelength > 0) { | 200 | if (framelength > 0) { |
201 | /* In case of a mono file, the second array will be ignored. */ | 201 | /* In case of a mono file, the second array will be ignored. */ |
202 | ci->pcmbuf_insert_split(&synth.pcm.samples[0][samples_to_skip], | 202 | ci->pcmbuf_insert(&synth.pcm.samples[0][samples_to_skip], |
203 | &synth.pcm.samples[1][samples_to_skip], | 203 | &synth.pcm.samples[1][samples_to_skip], |
204 | framelength * 4); | 204 | framelength); |
205 | 205 | ||
206 | /* Only skip samples for the first frame added. */ | 206 | /* Only skip samples for the first frame added. */ |
207 | samples_to_skip = 0; | 207 | samples_to_skip = 0; |
@@ -244,8 +244,8 @@ next_track: | |||
244 | /* Finish the remaining decoded frame. | 244 | /* Finish the remaining decoded frame. |
245 | Cut the required samples from the end. */ | 245 | Cut the required samples from the end. */ |
246 | if (framelength > stop_skip) | 246 | if (framelength > stop_skip) |
247 | ci->pcmbuf_insert_split(synth.pcm.samples[0], synth.pcm.samples[1], | 247 | ci->pcmbuf_insert(synth.pcm.samples[0], synth.pcm.samples[1], |
248 | (framelength - stop_skip) * 4); | 248 | framelength - stop_skip); |
249 | 249 | ||
250 | stream.error = 0; | 250 | stream.error = 0; |
251 | 251 | ||