diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/sync.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index fe3d01915..3e2bbb703 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -979,9 +979,10 @@ static void InitAudio( hb_job_t * job, hb_sync_common_t * common, int i ) c->channel_layout = w->audio->config.in.channel_layout; } - if( hb_avcodec_open( c, codec, NULL, 0 ) < 0 ) + if (hb_avcodec_open(c, codec, NULL, 0) < 0) { - hb_log( "sync: avcodec_open failed" ); + hb_error("sync: avcodec_open failed"); + *job->die = 1; return; } |