Mercurial > libavcodec.hg
comparison sgienc.c @ 10340:5f263438d11b libavcodec
Fix wrongly indented block.
author | diego |
---|---|
date | Thu, 01 Oct 2009 09:30:08 +0000 |
parents | a352df49a10f |
children | 8a4984c5cacc |
comparison
equal
deleted
inserted
replaced
10339:a352df49a10f | 10340:5f263438d11b |
---|---|
140 in_buf -= p->linesize[0]; | 140 in_buf -= p->linesize[0]; |
141 } | 141 } |
142 } | 142 } |
143 | 143 |
144 av_free(encode_buf); | 144 av_free(encode_buf); |
145 } else { | 145 } else { |
146 for (z = 0; z < depth; z++) { | 146 for (z = 0; z < depth; z++) { |
147 in_buf = p->data[0] + p->linesize[0] * (height - 1) + z; | 147 in_buf = p->data[0] + p->linesize[0] * (height - 1) + z; |
148 | 148 |
149 for (y = 0; y < height; y++) { | 149 for (y = 0; y < height; y++) { |
150 for (x = 0; x < width * depth; x += depth) | 150 for (x = 0; x < width * depth; x += depth) |
151 bytestream_put_byte(&buf, in_buf[x]); | 151 bytestream_put_byte(&buf, in_buf[x]); |
152 | 152 |
153 in_buf -= p->linesize[0]; | 153 in_buf -= p->linesize[0]; |
154 } | |
155 } | 154 } |
156 } | 155 } |
156 } | |
157 | 157 |
158 /* total length */ | 158 /* total length */ |
159 return buf - orig_buf; | 159 return buf - orig_buf; |
160 } | 160 } |
161 | 161 |