diff options
author | Jai Menon <jmenon86@gmail.com> | 2010-02-06 15:48:37 +0300 |
---|---|---|
committer | Jai Menon <jmenon86@gmail.com> | 2010-02-06 15:48:37 +0300 |
commit | b53ae8b6b1694f8bb20b8109f31293a452f5c09f (patch) | |
tree | 3adaacdbf0f6c43e3b5ced470295c61aadfcb0e8 /libavcodec/alac.c | |
parent | e243eee43f3799eb410263036bc655c86c28192c (diff) |
Remove redundant use of numchannels since it is 1 for mono.
Originally committed as revision 21655 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r-- | libavcodec/alac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index b1148219b5..c06b93bc94 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -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; |