Mercurial > libavcodec.hg
changeset 10340:5f263438d11b libavcodec
Fix wrongly indented block.
author | diego |
---|---|
date | Thu, 01 Oct 2009 09:30:08 +0000 |
parents | a352df49a10f |
children | e9435ad2d61e |
files | sgienc.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/sgienc.c Thu Oct 01 09:13:21 2009 +0000 +++ b/sgienc.c Thu Oct 01 09:30:08 2009 +0000 @@ -142,18 +142,18 @@ } 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;