summaryrefslogtreecommitdiffstats
path: root/libhb/decmpeg2.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2009-03-20 04:30:04 +0000
committereddyg <[email protected]>2009-03-20 04:30:04 +0000
commitaf73d2a799fa4b3f3effe57e9c184079ee1872c3 (patch)
tree7f881c4568df207557a9b84dfba36d22eaeb4700 /libhb/decmpeg2.c
parent24a14d05f1e1ddc42c9a0ccb9b0c4dfdc2ce29d2 (diff)
Another minor step on the way back to Solaris compiles - not linking as yet.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2265 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decmpeg2.c')
-rw-r--r--libhb/decmpeg2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decmpeg2.c b/libhb/decmpeg2.c
index 4e21aa151..6ad6127d6 100644
--- a/libhb/decmpeg2.c
+++ b/libhb/decmpeg2.c
@@ -94,7 +94,7 @@ static hb_buffer_t *hb_copy_frame( hb_job_t *job, int width, int height,
sws_scale( context, in.data, in.linesize, 0, height, out.data, out.linesize );
sws_freeContext( context );
- u_int8_t *data = buf->data;
+ uint8_t *data = buf->data;
memcpy( data, out.data[0], dst_wh );
data += dst_wh;
// U & V planes are 1/4 the size of Y plane.
@@ -110,7 +110,7 @@ static hb_buffer_t *hb_copy_frame( hb_job_t *job, int width, int height,
{
// we're scanning or the frame dimensions match the title's dimensions
// so we can do a straight copy.
- u_int8_t *data = buf->data;
+ uint8_t *data = buf->data;
memcpy( data, y, dst_wh );
data += dst_wh;
// U & V planes are 1/4 the size of Y plane.