diff options
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r-- | libhb/encx264.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index 04ac22824..4adab5cc0 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -1055,7 +1055,8 @@ int apply_h264_level(const x264_api_t *api, x264_param_t *param, return -1; } } - else if(!strcasecmp(h264_level, hb_h264_level_names[0])) + else if(h264_level != NULL && + !strcasecmp(h264_level, hb_h264_level_names[0])) { // "auto", do nothing return 0; |