summaryrefslogtreecommitdiffstats
path: root/core/Ac3Dec.c
diff options
context:
space:
mode:
authorhandbrake <[email protected]>2006-01-14 13:27:00 +0000
committerhandbrake <[email protected]>2006-01-14 13:27:00 +0000
commitb69e82fd960103c41979e00beb9b1c9fac78083b (patch)
tree264c5b637fd261c67d17e1d3649d4526c585e663 /core/Ac3Dec.c
parent951be4e0b69aa652c992124025c862c4f1660937 (diff)
HandBrake 0.6.0-test3
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@12 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'core/Ac3Dec.c')
-rw-r--r--core/Ac3Dec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Ac3Dec.c b/core/Ac3Dec.c
index e1b027887..3fb4cc0ae 100644
--- a/core/Ac3Dec.c
+++ b/core/Ac3Dec.c
@@ -1,4 +1,4 @@
-/* $Id: Ac3Dec.c,v 1.12 2004/01/16 19:04:03 titer Exp $
+/* $Id: Ac3Dec.c,v 1.13 2004/03/08 11:32:48 titer Exp $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.m0k.org/>.
@@ -58,13 +58,13 @@ HBWork * HBAc3DecInit( HBHandle * handle, HBAudio * audio )
/* Let it do the downmixing */
a->outFlags = A52_STEREO;
- if( audio->codec == HB_CODEC_MP3 )
+ if( audio->outCodec == HB_CODEC_MP3 )
/* Lame wants 16 bits samples */
a->sampleLevel = 32768.0;
- else if( audio->codec == HB_CODEC_AAC )
+ else if( audio->outCodec == HB_CODEC_AAC )
/* Faac wants 24 bits samples */
a->sampleLevel = 8388608.0;
- else if( audio->codec == HB_CODEC_VORBIS )
+ else if( audio->outCodec == HB_CODEC_VORBIS )
/* Vorbis wants FIXME bits samples */
a->sampleLevel = 32768.0;