summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-10-12 17:16:19 +0000
committerjstebbins <[email protected]>2010-10-12 17:16:19 +0000
commitb41e92fff1731fad2595143b7c3f5f79aeaf89f7 (patch)
treebe48a3992a6ddbd463313a25981c541573965ad5 /libhb/decavcodec.c
parentab1f5c7298d8f6d0ef7ee949f41d3053035ee442 (diff)
bump ffmpeg from 25082 to 25374
fixes h264 decoding issue git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3599 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index bbdd4d668..019f595b1 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -510,10 +510,9 @@ static hb_buffer_t *copy_frame( hb_work_private_t *pv, AVFrame *frame )
if ( ! pv->sws_context )
{
- pv->sws_context = sws_getContext( context->width, context->height, context->pix_fmt,
+ pv->sws_context = hb_sws_get_context( context->width, context->height, context->pix_fmt,
w, h, PIX_FMT_YUV420P,
- SWS_LANCZOS|SWS_ACCURATE_RND,
- NULL, NULL, NULL );
+ SWS_LANCZOS|SWS_ACCURATE_RND);
}
sws_scale( pv->sws_context, frame->data, frame->linesize, 0, h,
dstpic.data, dstpic.linesize );