summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-18 00:12:30 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-18 00:24:25 +0200
commit7b972d82b673c55ba0593ec1433af97f491154c4 (patch)
tree31f9e9eeea6cc4a70c79cb155664f6e1521d1c01
parente065e8a4ea5c7e1302ac6dc1f9025a24ef202784 (diff)
gif: reindent after previous commits.
-rw-r--r--libavcodec/gif.c2
-rw-r--r--libavformat/gif.c7
2 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 52cf1c9c79..f373819b4f 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -144,7 +144,7 @@ static int gif_image_write_image(AVCodecContext *avctx,
bytestream_put_le16(bytestream, height);
if (!palette) {
- bytestream_put_byte(bytestream, 0x00); /* flags */
+ bytestream_put_byte(bytestream, 0x00); /* flags */
} else {
unsigned i;
bytestream_put_byte(bytestream, 1<<7 | 0x7); /* flags */
diff --git a/libavformat/gif.c b/libavformat/gif.c
index 55f6a581ac..7be2d1c35e 100644
--- a/libavformat/gif.c
+++ b/libavformat/gif.c
@@ -63,10 +63,9 @@ static int gif_image_write_header(AVIOContext *pb, int width, int height,
avio_wl16(pb, height);
if (palette) {
- /* TODO: reindent */
- avio_w8(pb, 0xf7); /* flags: global clut, 256 entries */
- avio_w8(pb, 0x1f); /* background color index */
- avio_w8(pb, 0); /* aspect ratio */
+ avio_w8(pb, 0xf7); /* flags: global clut, 256 entries */
+ avio_w8(pb, 0x1f); /* background color index */
+ avio_w8(pb, 0); /* aspect ratio */
for (i = 0; i < 256; i++) {
v = palette[i];
avio_w8(pb, (v >> 16) & 0xff);