summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-12-05 17:28:55 +0000
committerRodeo <[email protected]>2013-12-05 17:28:55 +0000
commit1fbbbb97740927a8c3387c36825adc8955bac0de (patch)
treeb22bc9c01ba346a36616020b238177fbb94ce156 /libhb/sync.c
parent60bb4d72efaf394627bf3c046caf1ac7e63ca94b (diff)
sync: find the AAC encoder by name.
FDK is non-experimental, so if it's compiled in, it will be selected over the libavcodec encoder, which is what we want to use for consistency (quality hardly matters when encoding silence). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5919 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
-rw-r--r--libhb/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index ac9c95885..bd033a1b0 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -1193,7 +1193,7 @@ static void InitAudio( hb_job_t * job, hb_sync_common_t * common, int i )
} break;
case HB_ACODEC_AAC_PASS:
{
- codec = avcodec_find_encoder( AV_CODEC_ID_AAC );
+ codec = avcodec_find_encoder_ny_name("aac");
} break;
default:
{