Commit 2499f4e0 authored by Diego Biurrun's avatar Diego Biurrun

Fix wrongly indented block.

Originally committed as revision 20117 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 081c14a3
...@@ -142,18 +142,18 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, ...@@ -142,18 +142,18 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
} }
av_free(encode_buf); av_free(encode_buf);
} else { } else {
for (z = 0; z < depth; z++) { for (z = 0; z < depth; z++) {
in_buf = p->data[0] + p->linesize[0] * (height - 1) + z; in_buf = p->data[0] + p->linesize[0] * (height - 1) + z;
for (y = 0; y < height; y++) { for (y = 0; y < height; y++) {
for (x = 0; x < width * depth; x += depth) for (x = 0; x < width * depth; x += depth)
bytestream_put_byte(&buf, in_buf[x]); bytestream_put_byte(&buf, in_buf[x]);
in_buf -= p->linesize[0]; in_buf -= p->linesize[0];
}
} }
} }
}
/* total length */ /* total length */
return buf - orig_buf; 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