summaryrefslogtreecommitdiff
path: root/libavcodec/eac3dec.c
diff options
context:
space:
mode:
authorTim Walker <tdskywalker@gmail.com>2014-01-17 15:18:45 +0100
committerTim Walker <tdskywalker@gmail.com>2014-01-19 19:12:33 +0100
commit1f604f96ea70503caa642f68a85be6074a5b3f46 (patch)
treea365349a8d40fdaa6b6346071b58c8e0478da61b /libavcodec/eac3dec.c
parent8b2e5e42bb9d6a59ede5af2e6df4aaf7750d1195 (diff)
downloadffmpeg-1f604f96ea70503caa642f68a85be6074a5b3f46.tar.gz
ac3: set default matrix encoding modes in parse_frame_header.
Deduplicates some code.
Diffstat (limited to 'libavcodec/eac3dec.c')
-rw-r--r--libavcodec/eac3dec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c
index fb6c51bcb8..731735f2c9 100644
--- a/libavcodec/eac3dec.c
+++ b/libavcodec/eac3dec.c
@@ -341,11 +341,6 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
}
}
- /* default dolby matrix encoding modes */
- s->dolby_surround_mode = AC3_DSURMOD_NOTINDICATED;
- s->dolby_surround_ex_mode = AC3_DSUREXMOD_NOTINDICATED;
- s->dolby_headphone_mode = AC3_DHEADPHONMOD_NOTINDICATED;
-
/* mixing metadata */
if (get_bits1(gbc)) {
/* center and surround mix levels */