aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-03-10 21:44:26 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-03-12 14:01:41 +0100
commitb4e355c89e23664b8dac26936bf3fa7e7bc2110f (patch)
tree35eeb7d6cb25eacae4b894e84deef1cb9920d305 /libavcodec
parentb3c6ee199e75bbad2908253f11e871500dd38531 (diff)
downloadffmpeg-b4e355c89e23664b8dac26936bf3fa7e7bc2110f.tar.gz
copy_block: K&R formatting cosmetics
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/copy_block.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/libavcodec/copy_block.h b/libavcodec/copy_block.h
index ec465db434..5dfdabc4b4 100644
--- a/libavcodec/copy_block.h
+++ b/libavcodec/copy_block.h
@@ -26,35 +26,32 @@
static inline void copy_block8(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
- for(i=0; i<h; i++)
- {
+ for (i = 0; i < h; i++) {
AV_COPY64U(dst, src);
- dst+=dstStride;
- src+=srcStride;
+ dst += dstStride;
+ src += srcStride;
}
}
static inline void copy_block9(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
- for(i=0; i<h; i++)
- {
+ for (i = 0; i < h; i++) {
AV_COPY64U(dst, src);
- dst[8]= src[8];
- dst+=dstStride;
- src+=srcStride;
+ dst[8] = src[8];
+ dst += dstStride;
+ src += srcStride;
}
}
static inline void copy_block17(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
{
int i;
- for(i=0; i<h; i++)
- {
+ for (i = 0; i < h; i++) {
AV_COPY128U(dst, src);
- dst[16]= src[16];
- dst+=dstStride;
- src+=srcStride;
+ dst[16] = src[16];
+ dst += dstStride;
+ src += srcStride;
}
}