summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2007-12-05 04:32:45 +0000
committerMike Melanson <mike@multimedia.cx>2007-12-05 04:32:45 +0000
commit9de2919ce528d8b573ad9bbb99c96da6516b06d2 (patch)
treeb287ea73368126c730ef2ce50b27b0bfcd6b897c
parent8b35bd806dd5424104a8a44a49da8b25d553dd10 (diff)
adjust indentation on latest patch
Originally committed as revision 11167 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mov.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index b598167e8b..b22fac1f91 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -703,20 +703,20 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
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);
}
}
}