From 1f604f96ea70503caa642f68a85be6074a5b3f46 Mon Sep 17 00:00:00 2001 From: Tim Walker Date: Fri, 17 Jan 2014 15:18:45 +0100 Subject: ac3: set default matrix encoding modes in parse_frame_header. Deduplicates some code. --- libavcodec/eac3dec.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libavcodec/eac3dec.c') diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c index fb6c51b..731735f 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 */ -- cgit v1.1