summaryrefslogtreecommitdiffstats
path: root/libhb/muxmkv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/muxmkv.c')
-rw-r--r--libhb/muxmkv.c2
1 files changed, 1 insertions, 1 deletions
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