summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/encavcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c
index 0474dd612..c613fa717 100644
--- a/libhb/encavcodec.c
+++ b/libhb/encavcodec.c
@@ -199,7 +199,7 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job )
ret = av_set_string3( context, name, value, 1, NULL );
/* Let avutil sanity check the options for us*/
- if( ret == AVERROR(ENOENT) )
+ if( ret == AVERROR_OPTION_NOT_FOUND )
hb_log( "avcodec options: Unknown option %s", name );
if( ret == AVERROR(EINVAL) )
hb_log( "avcodec options: Bad argument %s=%s", name, value ? value : "(null)" );