projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e243eee
)
Remove redundant use of numchannels since it is 1 for mono.
author
Jai Menon
<jmenon86@gmail.com>
Sat, 6 Feb 2010 12:48:37 +0000
(12:48 +0000)
committer
Jai Menon
<jmenon86@gmail.com>
Sat, 6 Feb 2010 12:48:37 +0000
(12:48 +0000)
Originally committed as revision 21655 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/alac.c
patch
|
blob
|
history
diff --git
a/libavcodec/alac.c
b/libavcodec/alac.c
index
b114821
..
c06b93b
100644
(file)
--- 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;