mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
pixdesc: indent
Originally committed as revision 25111 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9525243f59
commit
78b19cf029
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user