diff options
-rw-r--r-- | libhb/hb.c | 5 | ||||
-rw-r--r-- | libhb/render.c | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index 0e36465fd..bc1c1f0a6 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -350,10 +350,7 @@ void hb_get_preview( hb_handle_t * h, hb_title_t * title, int picture, int rgb_width = ((job->width + 7) >> 3) << 3; int preview_size; - swsflags = SWS_LANCZOS; -#ifndef __x86_64__ - swsflags |= SWS_ACCURATE_RND; -#endif /* __x86_64__ */ + swsflags = SWS_LANCZOS | SWS_ACCURATE_RND; buf1 = av_malloc( avpicture_get_size( PIX_FMT_YUV420P, title->width, title->height ) ); buf2 = av_malloc( avpicture_get_size( PIX_FMT_YUV420P, title->width, title->height ) ); diff --git a/libhb/render.c b/libhb/render.c index 3dd239dae..55295a4c2 100644 --- a/libhb/render.c +++ b/libhb/render.c @@ -531,10 +531,7 @@ int renderInit( hb_work_object_t * w, hb_job_t * job ) w->private_data = pv; uint32_t swsflags; - swsflags = SWS_LANCZOS; -#ifndef __x86_64__ - swsflags |= SWS_ACCURATE_RND; -#endif /* __x86_64__ */ + swsflags = SWS_LANCZOS | SWS_ACCURATE_RND; /* Get title and title size */ hb_title_t * title = job->title; |