summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Walker <[email protected]>2016-03-29 22:34:18 +0200
committerTim Walker <[email protected]>2016-03-31 01:05:16 +0200
commit09e66a658c93268211303a4f426e1fd3324b5fa1 (patch)
tree58d92e7c00f883a5a870b9638eb96dbae228918d
parentdea7627202442984f54a048dcc16cbe25be98110 (diff)
libhb: remove superfluous ifdefs.
The defines always exist, so they're not actually protecting anything.
-rw-r--r--libhb/common.c4
1 files changed, 0 insertions, 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: