From c547b8aa25996fee77a0fef9a69724121e43ae0c Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sun, 19 Aug 2012 13:24:07 +0000 Subject: [PATCH] Remove unused code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4909 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/hb.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libhb/hb.c b/libhb/hb.c index cc9fd2279..ed074f93d 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -296,21 +296,6 @@ void hb_ff_set_sample_fmt(AVCodecContext *context, AVCodec *codec) } } -// Libav can decode DTS-ES 6.0/6.1 (5.0/5.1 core + XCh extension) -// but we don't support 6.0/6.1 (and incorrectly assume 5.1/7.0) -// request channels-1 to disable XCh processing in Libav -int hb_ff_dts_disable_xch( AVCodecContext *c ) -{ - if( ( c->codec_id == CODEC_ID_DTS ) && - ( ( c->channel_layout & ~AV_CH_LOW_FREQUENCY ) == ( AV_CH_LAYOUT_5POINT0|AV_CH_BACK_CENTER ) ) ) - { - c->request_channels = --c->channels; - c->channel_layout &= ~AV_CH_BACK_CENTER; - return 1; - } - return 0; -} - /** * Registers work objects, by adding the work object to a liked list. * @param w Handle to hb_work_object_t to register. -- 2.40.0