summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-10-09 16:34:21 +0000
committerjstebbins <[email protected]>2010-10-09 16:34:21 +0000
commit2c3ed8e7d9f1361b1d751ff26c9997a160f3a06d (patch)
treeac1921316e04430bd20f8be572d7615d0a45ec74 /libhb
parentcee54f9f9792d19c19192dcb3699e477fb950ae0 (diff)
fix detectsion of bitrate_code for ac3 passthru in mp4
ac3 passthru and encode are slightly different since audio->config.in.bitrate is in bps and audio->config.out.bitrate is kbps git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3587 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/muxmp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c
index 6fdf7899f..3580a5459 100644
--- a/libhb/muxmp4.c
+++ b/libhb/muxmp4.c
@@ -262,7 +262,7 @@ rate_found1:
sr_code = jj;
for (ii = 0; ii < 19; ii++)
{
- if ((ac3_bitrate_tab[ii] >> sr_shift) == bitrate)
+ if ((ac3_bitrate_tab[ii] >> sr_shift)*1000 == bitrate)
break;
}
if ( ii >= 19 )