summaryrefslogtreecommitdiffstats
path: root/libhb/encfaac.c
diff options
context:
space:
mode:
authormaxd <[email protected]>2013-11-05 13:46:42 +0000
committermaxd <[email protected]>2013-11-05 13:46:42 +0000
commite7fa5d24cdd7275611ed738e3dfc909fe30ad317 (patch)
treef0478754e3d930d44782e313c3fa21cb465f6b22 /libhb/encfaac.c
parenta89397c1e3358b5f690b046481388ade19316fda (diff)
RB626: return code support added
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5876 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encfaac.c')
-rw-r--r--libhb/encfaac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/encfaac.c b/libhb/encfaac.c
index 551a7ea01..02b56cff9 100644
--- a/libhb/encfaac.c
+++ b/libhb/encfaac.c
@@ -116,6 +116,7 @@ int encfaacInit( hb_work_object_t * w, hb_job_t * job )
if( !faacEncSetConfiguration( pv->faac, cfg ) )
{
hb_log( "faacEncSetConfiguration failed" );
+ *job->done_error = HB_ERROR_INIT;
*job->die = 1;
return 0;
}
@@ -123,6 +124,7 @@ int encfaacInit( hb_work_object_t * w, hb_job_t * job )
if( faacEncGetDecoderSpecificInfo( pv->faac, &bytes, &length ) < 0 )
{
hb_log( "faacEncGetDecoderSpecificInfo failed" );
+ *job->done_error = HB_ERROR_INIT;
*job->die = 1;
return 0;
}