summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2014-01-26 16:12:23 +0000
committerRodeo <[email protected]>2014-01-26 16:12:23 +0000
commit1d7db22df59be148ed995eee7755f21d8f0b9d5b (patch)
tree32eb0acf048550576259f0798f8da0a7975c5703 /libhb/common.c
parentee621317fb45852db29b94308b87690827a9a0df (diff)
libhb: support AV_FRAME_DATA_MATRIXENCODING side data.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6000 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 813ece48e..720ff4976 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -3431,7 +3431,8 @@ void hb_audio_config_init(hb_audio_config_t * audiocfg)
audiocfg->in.samplerate = -1;
audiocfg->in.samples_per_frame = -1;
audiocfg->in.bitrate = -1;
- audiocfg->in.channel_layout = -1;
+ audiocfg->in.matrix_encoding = AV_MATRIX_ENCODING_NONE;
+ audiocfg->in.channel_layout = 0;
audiocfg->in.channel_map = NULL;
audiocfg->lang.description[0] = 0;
audiocfg->lang.simple[0] = 0;