summaryrefslogtreecommitdiff
path: root/libavcodec/eac3enc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-08-05 16:28:39 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-08-09 16:44:34 -0400
commitc3d63262fe61a8e219c4b69c61af6e0c9d49be2d (patch)
treeb76585026b5f748453fe80c2ba8d2686b37dc172 /libavcodec/eac3enc.c
parentd55ad59a8a67b73f3370ee01efd0051fbffe3577 (diff)
downloadffmpeg-c3d63262fe61a8e219c4b69c61af6e0c9d49be2d.tar.gz
ac3enc: allow new coupling coordinates to be sent independently for each
channel.
Diffstat (limited to 'libavcodec/eac3enc.c')
-rw-r--r--libavcodec/eac3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eac3enc.c b/libavcodec/eac3enc.c
index 75113b272f..f3b4418896 100644
--- a/libavcodec/eac3enc.c
+++ b/libavcodec/eac3enc.c
@@ -99,7 +99,7 @@ void ff_eac3_set_cpl_states(AC3EncodeContext *s)
for (ch = 1; ch <= s->fbw_channels; ch++) {
if (block->channel_in_cpl[ch]) {
if (first_cpl_coords[ch]) {
- block->new_cpl_coords = 2;
+ block->new_cpl_coords[ch] = 2;
first_cpl_coords[ch] = 0;
}
} else {