mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Fix wrongly indented block.
Originally committed as revision 20117 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
081c14a318
commit
2499f4e09e
@ -142,18 +142,18 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
|
||||
}
|
||||
|
||||
av_free(encode_buf);
|
||||
} else {
|
||||
for (z = 0; z < depth; z++) {
|
||||
in_buf = p->data[0] + p->linesize[0] * (height - 1) + z;
|
||||
} else {
|
||||
for (z = 0; z < depth; z++) {
|
||||
in_buf = p->data[0] + p->linesize[0] * (height - 1) + z;
|
||||
|
||||
for (y = 0; y < height; y++) {
|
||||
for (x = 0; x < width * depth; x += depth)
|
||||
bytestream_put_byte(&buf, in_buf[x]);
|
||||
for (y = 0; y < height; y++) {
|
||||
for (x = 0; x < width * depth; x += depth)
|
||||
bytestream_put_byte(&buf, in_buf[x]);
|
||||
|
||||
in_buf -= p->linesize[0];
|
||||
}
|
||||
in_buf -= p->linesize[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* total length */
|
||||
return buf - orig_buf;
|
||||
|
Loading…
Reference in New Issue
Block a user