From 24019e7812e9da31dd90c353ece7706a1247442a Mon Sep 17 00:00:00 2001 From: Rodeo Date: Fri, 29 Jun 2012 12:22:55 +0000 Subject: muxmkv: improve reliability of HE-AAC check when doing AAC Passthru. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4789 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/muxmkv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb') diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c index bca946bfb..064dbb145 100644 --- a/libhb/muxmkv.c +++ b/libhb/muxmkv.c @@ -289,7 +289,7 @@ static int MKVInit( hb_mux_object_t * m ) // sample rate if ((audio->config.out.codec == HB_ACODEC_CA_HAAC) || (audio->config.out.codec == HB_ACODEC_AAC_PASS && - audio->priv.config.extradata.length == 5)) + audio->config.in.samples_per_frame > 1024)) { // For HE-AAC, write outputSamplingFreq too // samplingFreq is half of outputSamplingFreq -- cgit v1.2.3