[FFmpeg-cvslog] r11167 - trunk/libavformat/mov.c
melanson
subversion
Wed Dec 5 05:32:45 CET 2007
Author: melanson
Date: Wed Dec 5 05:32:45 2007
New Revision: 11167
Log:
adjust indentation on latest patch
Modified:
trunk/libavformat/mov.c
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c (original)
+++ trunk/libavformat/mov.c Wed Dec 5 05:32:45 2007
@@ -703,20 +703,20 @@ static int mov_read_stsd(MOVContext *c,
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);
}
}
}
More information about the ffmpeg-cvslog
mailing list