diff options
author | jstebbins <[email protected]> | 2011-04-08 18:10:43 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-04-08 18:10:43 +0000 |
commit | 122c93f2b05790907e79c9a292342b3763399948 (patch) | |
tree | d4a893193f07f11336626e86e909b2c8879ab59e /libhb/hb.c | |
parent | db4b25fc4de5db124cb2d771ca3369d9d9b36d61 (diff) |
Eliminate incompatible pointer type warnings for sws_scale
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3910 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.c')
-rw-r--r-- | libhb/hb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index 4c16156c5..55d5f6886 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -724,7 +724,7 @@ void hb_get_preview( hb_handle_t * h, hb_title_t * title, int picture, // Scale sws_scale(context, - pic_crop.data, pic_crop.linesize, + (const uint8_t* const *)pic_crop.data, pic_crop.linesize, 0, title->height - (job->crop[0] + job->crop[1]), pic_scale.data, pic_scale.linesize); @@ -738,7 +738,7 @@ void hb_get_preview( hb_handle_t * h, hb_title_t * title, int picture, // Create preview sws_scale(context, - pic_scale.data, pic_scale.linesize, + (const uint8_t* const *)pic_scale.data, pic_scale.linesize, 0, job->height, pic_preview.data, pic_preview.linesize); |