summaryrefslogtreecommitdiff
path: root/libavcodec/eac3enc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-03-30 20:01:17 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-02 12:19:07 +0200
commiteca36784b87be259b89c1d0eecacffac3f672ac6 (patch)
tree79cf00db36621834f97b9232cd4e8b45d3d0e223 /libavcodec/eac3enc.c
parent5d4234b3ea376c59a53a9ab6fb69aae8c5ee8fac (diff)
downloadffmpeg-eca36784b87be259b89c1d0eecacffac3f672ac6.tar.gz
avcodec/[e]ac3enc: Fix indentation
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/eac3enc.c')
-rw-r--r--libavcodec/eac3enc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/eac3enc.c b/libavcodec/eac3enc.c
index 356bb677c2..06d4df8f56 100644
--- a/libavcodec/eac3enc.c
+++ b/libavcodec/eac3enc.c
@@ -193,8 +193,8 @@ void ff_eac3_output_frame_header(AC3EncodeContext *s)
/* frame header */
if (s->num_blocks == 6) {
- put_bits(&s->pb, 1, !s->use_frame_exp_strategy);/* exponent strategy syntax */
- put_bits(&s->pb, 1, 0); /* aht enabled = no */
+ put_bits(&s->pb, 1, !s->use_frame_exp_strategy); /* exponent strategy syntax */
+ put_bits(&s->pb, 1, 0); /* aht enabled = no */
}
put_bits(&s->pb, 2, 0); /* snr offset strategy = 1 */
put_bits(&s->pb, 1, 0); /* transient pre-noise processing enabled = no */
@@ -232,12 +232,12 @@ void ff_eac3_output_frame_header(AC3EncodeContext *s)
if (s->num_blocks != 6) {
put_bits(&s->pb, 1, 0);
} else {
- for (ch = 1; ch <= s->fbw_channels; ch++) {
- if (s->use_frame_exp_strategy)
- put_bits(&s->pb, 5, s->frame_exp_strategy[ch]);
- else
- put_bits(&s->pb, 5, 0);
- }
+ for (ch = 1; ch <= s->fbw_channels; ch++) {
+ if (s->use_frame_exp_strategy)
+ put_bits(&s->pb, 5, s->frame_exp_strategy[ch]);
+ else
+ put_bits(&s->pb, 5, 0);
+ }
}
/* snr offsets */
put_bits(&s->pb, 6, s->coarse_snr_offset);