Mercurial > libavcodec.hg
comparison targaenc.c @ 10342:fc22144efcaf libavcodec
Fix indentation after last commit.
author | benoit |
---|---|
date | Thu, 01 Oct 2009 12:21:54 +0000 |
parents | e9435ad2d61e |
children | a744eb5328b2 |
comparison
equal
deleted
inserted
replaced
10341:e9435ad2d61e | 10342:fc22144efcaf |
---|---|
119 | 119 |
120 out = outbuf + 18; /* skip past the header we just output */ | 120 out = outbuf + 18; /* skip past the header we just output */ |
121 | 121 |
122 /* try RLE compression */ | 122 /* try RLE compression */ |
123 if (avctx->coder_type != FF_CODER_TYPE_RAW) | 123 if (avctx->coder_type != FF_CODER_TYPE_RAW) |
124 datasize = targa_encode_rle(out, picsize, p, bpp, avctx->width, avctx->height); | 124 datasize = targa_encode_rle(out, picsize, p, bpp, avctx->width, avctx->height); |
125 | 125 |
126 /* if that worked well, mark the picture as RLE compressed */ | 126 /* if that worked well, mark the picture as RLE compressed */ |
127 if(datasize >= 0) | 127 if(datasize >= 0) |
128 outbuf[2] |= 8; | 128 outbuf[2] |= 8; |
129 | 129 |