[FFmpeg-cvslog] r25111 - trunk/libavutil/pixdesc.c
mru
subversion
Sun Sep 12 23:39:57 CEST 2010
Author: mru
Date: Sun Sep 12 23:39:57 2010
New Revision: 25111
Log:
pixdesc: indent
Modified:
trunk/libavutil/pixdesc.c
Modified: trunk/libavutil/pixdesc.c
==============================================================================
--- trunk/libavutil/pixdesc.c Sun Sep 12 23:39:54 2010 (r25110)
+++ trunk/libavutil/pixdesc.c Sun Sep 12 23:39:57 2010 (r25111)
@@ -102,16 +102,16 @@ void av_write_image_line(const uint16_t
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;
- }
}
}
}
More information about the ffmpeg-cvslog
mailing list