diff options
author | jstebbins <[email protected]> | 2010-10-12 17:16:19 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-10-12 17:16:19 +0000 |
commit | b41e92fff1731fad2595143b7c3f5f79aeaf89f7 (patch) | |
tree | be48a3992a6ddbd463313a25981c541573965ad5 /libhb/decmpeg2.c | |
parent | ab1f5c7298d8f6d0ef7ee949f41d3053035ee442 (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/decmpeg2.c')
-rw-r--r-- | libhb/decmpeg2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libhb/decmpeg2.c b/libhb/decmpeg2.c index 63f2ebb40..3beef06d1 100644 --- a/libhb/decmpeg2.c +++ b/libhb/decmpeg2.c @@ -291,10 +291,9 @@ static hb_buffer_t *hb_copy_frame( hb_job_t *job, int width, int height, memcpy( in.data[1], u, src_wh >> 2 ); memcpy( in.data[2], v, src_wh >> 2 ); } - struct SwsContext *context = sws_getContext( width, height, pixfmt, + struct SwsContext *context = hb_sws_get_context( width, height, pixfmt, dst_w, dst_h, PIX_FMT_YUV420P, - SWS_LANCZOS|SWS_ACCURATE_RND, - NULL, NULL, NULL ); + SWS_LANCZOS|SWS_ACCURATE_RND); sws_scale( context, in.data, in.linesize, 0, height, out.data, out.linesize ); sws_freeContext( context ); |