summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/encx264.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c
index d1a71b7cf..68d7a96d0 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -328,7 +328,10 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job )
job->h264_profile,
job->h264_level,
job->width, job->height );
- hb_log( "encx264: unparsed options: %s", x264_opts_unparsed );
+ if( x264_opts_unparsed != NULL )
+ {
+ hb_log( "encx264: unparsed options: %s", x264_opts_unparsed );
+ }
free( x264_opts_unparsed );
hb_deep_log( 2, "encx264: opening libx264 (pass %d)", job->pass );