[SCM] libav/experimental: Fix wrongly indented block.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:52:18 UTC 2013
The following commit has been merged in the experimental branch:
commit 2499f4e09e1b23fec7891697cce2656ce3915767
Author: Diego Biurrun <diego at biurrun.de>
Date: Thu Oct 1 09:30:08 2009 +0000
Fix wrongly indented block.
Originally committed as revision 20117 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c
index d37beff..7c2bcae 100644
--- a/libavcodec/sgienc.c
+++ b/libavcodec/sgienc.c
@@ -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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list