diff options
author | Måns Rullgård <mans@mansr.com> | 2010-09-12 21:39:57 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-09-12 21:39:57 +0000 |
commit | 78b19cf029b5641b97d66b2dd1e566d28cfe9ed7 (patch) | |
tree | 8c61dd1cb0a2f5b1f8cb557fbf40fbbb6003397c /libavutil/pixdesc.c | |
parent | 9525243f59f0a13e099612b66f7ba5d5d5293c70 (diff) | |
download | ffmpeg-78b19cf029b5641b97d66b2dd1e566d28cfe9ed7.tar.gz |
pixdesc: indent
Originally committed as revision 25111 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 6d618f3302..b3885e510d 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -102,16 +102,16 @@ void av_write_image_line(const uint16_t *src, uint8_t *data[4], const int linesi p += step; } } else { - while (w--) { - if (flags & PIX_FMT_BE) { - uint16_t val = AV_RB16(p) | (*src++<<shift); - AV_WB16(p, val); - } else { - uint16_t val = AV_RL16(p) | (*src++<<shift); - AV_WL16(p, val); + while (w--) { + if (flags & PIX_FMT_BE) { + uint16_t val = AV_RB16(p) | (*src++<<shift); + AV_WB16(p, val); + } else { + uint16_t val = AV_RL16(p) | (*src++<<shift); + AV_WL16(p, val); + } + p+= step; } - p+= step; - } } } } |