Commit 00988d14 authored by diego's avatar diego

Fix wrongly indented block.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20117 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 32bca27a
......@@ -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;
......
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