From 09e66a658c93268211303a4f426e1fd3324b5fa1 Mon Sep 17 00:00:00 2001 From: Tim Walker Date: Tue, 29 Mar 2016 22:34:18 +0200 Subject: libhb: remove superfluous ifdefs. The defines always exist, so they're not actually protecting anything. --- libhb/common.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libhb/common.c b/libhb/common.c index 8ad4f9e6a..74209edfb 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -1212,12 +1212,10 @@ void hb_video_quality_get_limits(uint32_t codec, float *low, float *high, { case HB_VCODEC_X264_8BIT: case HB_VCODEC_X264_10BIT: -#ifdef USE_X265 case HB_VCODEC_X265_8BIT: case HB_VCODEC_X265_10BIT: case HB_VCODEC_X265_12BIT: case HB_VCODEC_X265_16BIT: -#endif *direction = 1; *granularity = 0.1; *low = 0.; @@ -1262,12 +1260,10 @@ const char* hb_video_quality_get_name(uint32_t codec) { case HB_VCODEC_X264_8BIT: case HB_VCODEC_X264_10BIT: -#ifdef USE_X265 case HB_VCODEC_X265_8BIT: case HB_VCODEC_X265_10BIT: case HB_VCODEC_X265_12BIT: case HB_VCODEC_X265_16BIT: -#endif return "RF"; case HB_VCODEC_FFMPEG_VP8: -- cgit v1.2.3