diff options
author | eddyg <[email protected]> | 2009-03-20 04:30:04 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2009-03-20 04:30:04 +0000 |
commit | af73d2a799fa4b3f3effe57e9c184079ee1872c3 (patch) | |
tree | 7f881c4568df207557a9b84dfba36d22eaeb4700 /libhb | |
parent | 24a14d05f1e1ddc42c9a0ccb9b0c4dfdc2ce29d2 (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')
-rw-r--r-- | libhb/decmpeg2.c | 4 | ||||
-rw-r--r-- | libhb/module.defs | 2 |
2 files changed, 4 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. diff --git a/libhb/module.defs b/libhb/module.defs index 77a13a02f..e3942f781 100644 --- a/libhb/module.defs +++ b/libhb/module.defs @@ -40,6 +40,8 @@ else ifeq ($(BUILD.system),darwin) LIBHB.GCC.D += SYS_DARWIN else ifeq ($(BUILD.system),linux) LIBHB.GCC.D += SYS_LINUX _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 +else ifeq ($(BUILD.system),solaris) + LIBHB.GCC.D += SYS_SunOS _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 else LIBHB.platform.D = SYS_UNKNOWN endif |