diff options
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 |