summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
authorsaintdev <[email protected]>2009-03-02 02:30:10 +0000
committersaintdev <[email protected]>2009-03-02 02:30:10 +0000
commit237081eafa3234411e138b0c9a25c701ad0c835d (patch)
tree66922cb75353a62cfa7b54a58da5b9236d62f6c8 /libhb/hb.c
parent9389c53890e05723c97f2587a5b4a5bfa7fe70d5 (diff)
Re-enable libswscale accurate rounding on x86_64.
The libswscale bug causing crashes was fixed a while ago. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2191 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c5
1 files changed, 1 insertions, 4 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 ) );