Mercurial > libavformat.hg
changeset 2810:e106e4b43718 libavformat
adjust indentation on latest patch
author | melanson |
---|---|
date | Wed, 05 Dec 2007 04:32:45 +0000 |
parents | 17086a526938 |
children | cbc58d02f912 |
files | mov.c |
diffstat | 1 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Wed Dec 05 04:30:33 2007 +0000 +++ b/mov.c Wed Dec 05 04:32:45 2007 +0000 @@ -703,20 +703,20 @@ color_end = get_be16(pb); if ((color_start <= 255) && (color_end <= 255)) { - for (j = color_start; j <= color_end; j++) { - /* each R, G, or B component is 16 bits; - * only use the top 8 bits; skip alpha bytes - * up front */ - get_byte(pb); - get_byte(pb); - r = get_byte(pb); - get_byte(pb); - g = get_byte(pb); - get_byte(pb); - b = get_byte(pb); - get_byte(pb); - c->palette_control.palette[j] = - (r << 16) | (g << 8) | (b); + for (j = color_start; j <= color_end; j++) { + /* each R, G, or B component is 16 bits; + * only use the top 8 bits; skip alpha bytes + * up front */ + get_byte(pb); + get_byte(pb); + r = get_byte(pb); + get_byte(pb); + g = get_byte(pb); + get_byte(pb); + b = get_byte(pb); + get_byte(pb); + c->palette_control.palette[j] = + (r << 16) | (g << 8) | (b); } } }