summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-08-11 18:30:28 +0000
committerRodeo <[email protected]>2012-08-11 18:30:28 +0000
commit833f974cc3b7b4a50f9c4a76686950a9dd395e70 (patch)
tree907c967a203eb080eeb74ec57d5a6e4e4c6e81f2 /libhb/hb.c
parent3b80634a75354adf9e6c7ce1deb8dca8a5cad489 (diff)
Improve last commit. While the AC3 decoder doesn't use hb_ff_layout_xlat(), the code I added to it really belongs in hb_audio_resample.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4899 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index c51683c7c..cc9fd2279 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -266,11 +266,6 @@ uint64_t hb_ff_layout_xlat(uint64_t ff_channel_layout, int nchannels)
ff_channel_layout, nchannels);
}
}
- else if (hb_layout == AV_CH_LAYOUT_STEREO_DOWNMIX)
- {
- // Dolby is really only Stereo as far as downmixing is concerned
- hb_layout = AV_CH_LAYOUT_STEREO;
- }
return hb_layout;
}