Mercurial > libavcodec.hg
comparison imgconvert.c @ 12395:e05e29a04ada libavcodec
Cosmetics: remove useless ().
author | stefano |
---|---|
date | Sat, 21 Aug 2010 15:18:54 +0000 |
parents | e7de1ba6dbc0 |
children | ffb3668ff7af |
comparison
equal
deleted
inserted
replaced
12394:d46c4c3204b8 | 12395:e05e29a04ada |
---|---|
783 | 783 |
784 void ff_img_copy_plane(uint8_t *dst, int dst_wrap, | 784 void ff_img_copy_plane(uint8_t *dst, int dst_wrap, |
785 const uint8_t *src, int src_wrap, | 785 const uint8_t *src, int src_wrap, |
786 int width, int height) | 786 int width, int height) |
787 { | 787 { |
788 if((!dst) || (!src)) | 788 if (!dst || !src) |
789 return; | 789 return; |
790 for(;height > 0; height--) { | 790 for(;height > 0; height--) { |
791 memcpy(dst, src, width); | 791 memcpy(dst, src, width); |
792 dst += dst_wrap; | 792 dst += dst_wrap; |
793 src += src_wrap; | 793 src += src_wrap; |