summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-04-08 18:10:43 +0000
committerjstebbins <[email protected]>2011-04-08 18:10:43 +0000
commit122c93f2b05790907e79c9a292342b3763399948 (patch)
treed4a893193f07f11336626e86e909b2c8879ab59e /libhb/decavcodec.c
parentdb4b25fc4de5db124cb2d771ca3369d9d9b36d61 (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/decavcodec.c')
-rw-r--r--libhb/decavcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index b35d57119..53e47c7b5 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -639,7 +639,7 @@ static hb_buffer_t *copy_frame( hb_work_private_t *pv, AVFrame *frame )
w, h, PIX_FMT_YUV420P,
SWS_LANCZOS|SWS_ACCURATE_RND);
}
- sws_scale( pv->sws_context, frame->data, frame->linesize, 0, h,
+ sws_scale( pv->sws_context, (const uint8_t* const *)frame->data, frame->linesize, 0, h,
dstpic.data, dstpic.linesize );
}
else