diff options
author | jstebbins <[email protected]> | 2013-11-26 22:12:55 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-11-26 22:12:55 +0000 |
commit | 779fa193b6433f0afadc3fe3c3a6ad72dce54b2c (patch) | |
tree | 9f42ecc28232e0043d095d8a0f9eab5bb95d1b47 /libhb/cropscale.c | |
parent | 58f46542a4d4629050ebc6dfed50f4ec2bcfa0a4 (diff) |
libhb: fix a bunch of compiler warnings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5905 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/cropscale.c')
-rw-r--r-- | libhb/cropscale.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libhb/cropscale.c b/libhb/cropscale.c index f9227562a..7f74a10d7 100644 --- a/libhb/cropscale.c +++ b/libhb/cropscale.c @@ -156,23 +156,6 @@ static void hb_crop_scale_close( hb_filter_object_t * filter ) } /* OpenCL */ -static uint8_t *copy_plane( uint8_t *dst, uint8_t* src, int dstride, int sstride, int h ) -{ - if( dstride == sstride ) - { - memcpy( dst, src, dstride * h ); - return dst + dstride * h; - } - int lbytes = dstride <= sstride ? dstride : sstride; - while( --h >= 0 ) - { - memcpy( dst, src, lbytes ); - src += sstride; - dst += dstride; - } - return dst; -} - static hb_buffer_t* crop_scale( hb_filter_private_t * pv, hb_buffer_t * in ) { AVPicture pic_in; |