Commit 78b19cf0 authored by Måns Rullgård's avatar Måns Rullgård

pixdesc: indent

Originally committed as revision 25111 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9525243f
......@@ -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;
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment