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:
95283c1
)
cosmetics: indentation
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 5 Jan 2008 15:23:39 +0000
(15:23 +0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 5 Jan 2008 15:23:39 +0000
(15:23 +0000)
Originally committed as revision 11416 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dec.c
b/libavcodec/ac3dec.c
index
314eaa0
..
8512c17
100644
(file)
--- a/
libavcodec/ac3dec.c
+++ b/
libavcodec/ac3dec.c
@@
-1130,7
+1130,7
@@
static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
/* channel config */
s->out_channels = s->channels;
if (avctx->request_channels > 0 && avctx->request_channels <= 2 &&
- avctx->request_channels < s->channels) {
+
avctx->request_channels < s->channels) {
s->out_channels = avctx->request_channels;
s->output_mode = avctx->request_channels == 1 ? AC3_CHMODE_MONO : AC3_CHMODE_STEREO;
}