From: Andre Noll Date: Fri, 2 Nov 2007 01:48:15 +0000 (+0100) Subject: Interchange two lines in load_afhi(). X-Git-Tag: v0.3.0~130 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=5174c20cc16261b499a016c388163b3930d929b8 Interchange two lines in load_afhi(). Just to keep the oder consistent with safe_afhi(). --- diff --git a/aft.c b/aft.c index 02953b5c..2a35e8ac 100644 --- a/aft.c +++ b/aft.c @@ -351,9 +351,9 @@ static void load_afhi(const char *buf, struct afh_info *afhi) afhi->seconds_total = read_u32(buf + AFHI_SECONDS_TOTAL_OFFSET); afhi->bitrate = read_u32(buf + AFHI_BITRATE_OFFSET); afhi->frequency = read_u32(buf + AFHI_FREQUENCY_OFFSET); - afhi->channels = read_u8(buf + AFHI_CHANNELS_OFFSET); afhi->header_offset = read_u32(buf + AFHI_HEADER_OFFSET_OFFSET); afhi->header_len = read_u32(buf + AFHI_HEADER_LEN_OFFSET); + afhi->channels = read_u8(buf + AFHI_CHANNELS_OFFSET); ms2tv(read_u16(buf + AFHI_EOF_OFFSET), &afhi->eof_tv); strcpy(afhi->info_string, buf + AFHI_INFO_STRING_OFFSET); }