From 87313a3e48bf2349cbb5be3e89db9b203aae812f Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 6 Jun 2009 17:05:45 +0000 Subject: libhb: correct error in preview scaling git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2494 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/hb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/hb.c') diff --git a/libhb/hb.c b/libhb/hb.c index 23119023e..7d140bdfb 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -469,7 +469,7 @@ void hb_get_preview( hb_handle_t * h, hb_title_t * title, int picture, context = sws_getContext(title->width - (job->crop[2] + job->crop[3]), title->height - (job->crop[0] + job->crop[1]), PIX_FMT_YUV420P, - rgb_width, job->height, PIX_FMT_YUV420P, + job->width, job->height, PIX_FMT_YUV420P, swsflags, NULL, NULL, NULL); // Scale -- cgit v1.2.3