From 5174c20cc16261b499a016c388163b3930d929b8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 2 Nov 2007 02:48:15 +0100 Subject: [PATCH] Interchange two lines in load_afhi(). Just to keep the oder consistent with safe_afhi(). --- aft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2