You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
adjust indentation on latest patch
Originally committed as revision 11167 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -703,20 +703,20 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
|
|||||||
color_end = get_be16(pb);
|
color_end = get_be16(pb);
|
||||||
if ((color_start <= 255) &&
|
if ((color_start <= 255) &&
|
||||||
(color_end <= 255)) {
|
(color_end <= 255)) {
|
||||||
for (j = color_start; j <= color_end; j++) {
|
for (j = color_start; j <= color_end; j++) {
|
||||||
/* each R, G, or B component is 16 bits;
|
/* each R, G, or B component is 16 bits;
|
||||||
* only use the top 8 bits; skip alpha bytes
|
* only use the top 8 bits; skip alpha bytes
|
||||||
* up front */
|
* up front */
|
||||||
get_byte(pb);
|
get_byte(pb);
|
||||||
get_byte(pb);
|
get_byte(pb);
|
||||||
r = get_byte(pb);
|
r = get_byte(pb);
|
||||||
get_byte(pb);
|
get_byte(pb);
|
||||||
g = get_byte(pb);
|
g = get_byte(pb);
|
||||||
get_byte(pb);
|
get_byte(pb);
|
||||||
b = get_byte(pb);
|
b = get_byte(pb);
|
||||||
get_byte(pb);
|
get_byte(pb);
|
||||||
c->palette_control.palette[j] =
|
c->palette_control.palette[j] =
|
||||||
(r << 16) | (g << 8) | (b);
|
(r << 16) | (g << 8) | (b);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user