X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=aft.c;h=2a35e8ac09b35bcb7493d6218dd69effe51f23e4;hb=5174c20cc16261b499a016c388163b3930d929b8;hp=02953b5c4d154e0a089f1a420b0792e2a916ab46;hpb=f513183bb624dc785de48b556cca7a876b0e7754;p=paraslash.git 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); }