summaryrefslogtreecommitdiffstats
path: root/libhb/muxmp4.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-10-12 20:19:33 +0000
committerjstebbins <[email protected]>2011-10-12 20:19:33 +0000
commit9d95d88d5a05abf6086ab474c0aa2583a9da6345 (patch)
tree5ff672576f6efacb2f03a36b85a88a8b2d3e85e1 /libhb/muxmp4.c
parentd41d9e0d88a689a11fe0978d4e415b89e72c2e62 (diff)
Add flac + quality + compression level support
Adds flac audio to cli, lingui, and macgui Adds quality and compression level options to cli Adds quality option to lingui Quality option works for vorbis and lame git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4281 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxmp4.c')
-rw-r--r--libhb/muxmp4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c
index 8d93d361a..5234c5a7a 100644
--- a/libhb/muxmp4.c
+++ b/libhb/muxmp4.c
@@ -379,8 +379,8 @@ static int MP4Init( hb_mux_object_t * m )
case HB_ACODEC_DCA_HD:
case HB_ACODEC_DCA:
{
- uint8_t audio_type;
- int samplerate, samples_per_frame, channels, config_len;
+ uint8_t audio_type = MP4_MPEG4_AUDIO_TYPE;
+ int samplerate, samples_per_frame, channels, config_len = 0;
uint8_t *config_bytes = NULL;
switch ( audio->config.out.codec & HB_ACODEC_MASK )
@@ -391,8 +391,8 @@ static int MP4Init( hb_mux_object_t * m )
case HB_ACODEC_CA_HAAC:
{
audio_type = MP4_MPEG4_AUDIO_TYPE;
- config_bytes = audio->priv.config.aac.bytes;
- config_len = audio->priv.config.aac.length;
+ config_bytes = audio->priv.config.extradata.bytes;
+ config_len = audio->priv.config.extradata.length;
} break;
case HB_ACODEC_LAME:
case HB_ACODEC_MP3: