From: Andre Noll Date: Mon, 9 Aug 2021 21:31:38 +0000 (+0200) Subject: mp4: Fix trivial coding style issues in read_mvhd(). X-Git-Tag: v0.7.1~7^2~114 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=9e876b72c811a1cb77b6ecbd4cba6f5b648be662;p=paraslash.git mp4: Fix trivial coding style issues in read_mvhd(). Some comments were located before the corresponding read statement, some after, and some comments were indented weirdly. No real change. --- diff --git a/mp4.c b/mp4.c index b9931821..345775b2 100644 --- a/mp4.c +++ b/mp4.c @@ -670,28 +670,23 @@ static int32_t read_mvhd(mp4ff_t * f) read_char(f); /* version */ read_int24(f); /* flags */ - /* creation_time */ read_int32(f); - /* modification_time */ read_int32(f); + read_int32(f); /* creation_time */ + read_int32(f); /* modification_time */ f->time_scale = read_int32(f); f->duration = read_int32(f); - /* preferred_rate */ read_int32(f); - /*mp4ff_read_fixed32(f); */ - /* preferred_volume */ read_int16(f); - /*mp4ff_read_fixed16(f); */ - for (i = 0; i < 10; i++) { - /* reserved */ read_char(f); - } - for (i = 0; i < 9; i++) { - read_int32(f); /* matrix */ - } - /* preview_time */ read_int32(f); - /* preview_duration */ read_int32(f); - /* poster_time */ read_int32(f); - /* selection_time */ read_int32(f); - /* selection_duration */ read_int32(f); - /* current_time */ read_int32(f); - /* next_track_id */ read_int32(f); - + read_int32(f); /* preferred_rate */ + read_int16(f); /* preferred_volume */ + for (i = 0; i < 10; i++) + read_char(f); /* reserved */ + for (i = 0; i < 9; i++) + read_int32(f); /* matrix */ + read_int32(f); /* preview_time */ + read_int32(f); /* preview_duration */ + read_int32(f); /* poster_time */ + read_int32(f); /* selection_time */ + read_int32(f); /* selection_duration */ + read_int32(f); /* current_time */ + read_int32(f); /* next_track_id */ return 0; }