summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-01-04 14:05:33 +0000
committerRodeo <[email protected]>2013-01-04 14:05:33 +0000
commit16bf6e9e82f97d6e866877013f30eeaea1a5a240 (patch)
tree1fcd40cf8fc255fa356e1fb6a382a943b0741edf /test/test.c
parentae13b6551611d91df517b187a28d5c13bcf82d08 (diff)
CLI: avoid an #fidef.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5146 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test.c b/test/test.c
index 03b9658f6..1e9717df8 100644
--- a/test/test.c
+++ b/test/test.c
@@ -2179,11 +2179,7 @@ static int HandleEvents( hb_handle_t * h )
{
fprintf( stderr, "AAC Passthru requested and input codec is not AAC for track %d, using AAC encoder\n",
audio->out.track );
-#ifdef __APPLE_CC__
- audio->out.codec = HB_ACODEC_CA_AAC;
-#else
- audio->out.codec = HB_ACODEC_FAAC;
-#endif
+ audio->out.codec = hb_audio_encoders[0].encoder;
}
else if( audio->out.codec == HB_ACODEC_AC3_PASS )
{