mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-13 12:55:05 +02:00
Remove redundant use of numchannels since it is 1 for mono.
Originally committed as revision 21655 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e243eee43f
commit
b53ae8b6b1
@ -647,7 +647,7 @@ static int alac_decode_frame(AVCodecContext *avctx,
|
||||
int i;
|
||||
for (i = 0; i < outputsamples; i++) {
|
||||
int16_t sample = alac->outputsamples_buffer[0][i];
|
||||
((int16_t*)outbuffer)[i * alac->numchannels] = sample;
|
||||
((int16_t*)outbuffer)[i] = sample;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user