diff options
| author | phintuka <phintuka> | 2011-05-31 11:55:02 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2011-05-31 11:55:02 +0000 |
| commit | 6eaaaf2ae395154e066419ab80d080262f8fe493 (patch) | |
| tree | e308d7cd7fdd1b6bbc7b6e13230bbb40a9b6d55f | |
| parent | 300d14dff2b3c3b4f666db276c07282bf07624a9 (diff) | |
| download | xineliboutput-6eaaaf2ae395154e066419ab80d080262f8fe493.tar.gz xineliboutput-6eaaaf2ae395154e066419ab80d080262f8fe493.tar.bz2 | |
Cosmetics
| -rw-r--r-- | xine/BluRay/input_bluray.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index 70d74c3e..ddb4e92a 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -174,27 +174,27 @@ static void overlay_proc(void *this_gen, const BD_OVERLAY * const ov) if (ov->palette) { uint32_t color[256]; uint8_t trans[256]; - for(i = 0; i < 256; i++) { - trans[i] = ov->palette[i].T; - color[i] = (ov->palette[i].Y << 16) | (ov->palette[i].Cr << 8) | ov->palette[i].Cb; - } + for(i = 0; i < 256; i++) { + trans[i] = ov->palette[i].T; + color[i] = (ov->palette[i].Y << 16) | (ov->palette[i].Cr << 8) | ov->palette[i].Cb; + } - xine_osd_set_palette(this->osd, color, trans); + xine_osd_set_palette(this->osd, color, trans); } /* uncompress and draw bitmap */ if (ov->img) { - const BD_PG_RLE_ELEM *rlep = ov->img; - uint8_t *img = malloc(ov->w * ov->h); - unsigned pixels = ov->w * ov->h; + const BD_PG_RLE_ELEM *rlep = ov->img; + uint8_t *img = malloc(ov->w * ov->h); + unsigned pixels = ov->w * ov->h; - for (i = 0; i < pixels; i += rlep->len, rlep++) { - memset(img + i, rlep->color, rlep->len); - } + for (i = 0; i < pixels; i += rlep->len, rlep++) { + memset(img + i, rlep->color, rlep->len); + } - xine_osd_draw_bitmap(this->osd, img, ov->x, ov->y, ov->w, ov->h, NULL); + xine_osd_draw_bitmap(this->osd, img, ov->x, ov->y, ov->w, ov->h, NULL); - free(img); + free(img); } /* display */ |
