Mercurial > libavcodec.hg
diff dvbsub.c @ 2967:ef2149182f1c libavcodec
COSMETICS: Remove all trailing whitespace.
author | diego |
---|---|
date | Sat, 17 Dec 2005 18:14:38 +0000 |
parents | ac94d509884e |
children | bfabfdf9ce55 |
line wrap: on
line diff
--- a/dvbsub.c Sat Dec 17 11:31:56 2005 +0000 +++ b/dvbsub.c Sat Dec 17 18:14:38 2005 +0000 @@ -44,12 +44,12 @@ int x, y, len, x1, v, color; q = *pq; - + for(y = 0; y < h; y++) { *q++ = 0x10; bitbuf = 0; bitcnt = 6; - + x = 0; while (x < w) { x1 = x; @@ -132,12 +132,12 @@ int x, y, len, x1, v, color; q = *pq; - + for(y = 0; y < h; y++) { *q++ = 0x11; bitbuf = 0; bitcnt = 4; - + x = 0; while (x < w) { x1 = x; @@ -215,7 +215,7 @@ *pq = q; } -static int encode_dvb_subtitles(DVBSubtitleContext *s, +static int encode_dvb_subtitles(DVBSubtitleContext *s, uint8_t *outbuf, AVSubtitle *h) { uint8_t *q, *pseg_len; @@ -244,7 +244,7 @@ else page_state = 2; /* mode change */ /* page_version = 0 + page_state */ - *q++ = s->object_version | (page_state << 2) | 3; + *q++ = s->object_version | (page_state << 2) | 3; for (region_id = 0; region_id < h->num_rects; region_id++) { *q++ = region_id; @@ -302,7 +302,7 @@ for (region_id = 0; region_id < h->num_rects; region_id++) { /* region composition segment */ - + if (h->rects[region_id].nb_colors <= 4) { /* 2 bpp, some decoders do not support it correctly */ bpp_index = 0; @@ -339,7 +339,7 @@ } if (!s->hide_state) { - + for (object_id = 0; object_id < h->num_rects; object_id++) { /* Object Data segment */