X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wma_common.c;h=8886a061751caaa6c16375e244ea92a8f18a212d;hp=ee7f451eebbadd65bac712baf1cc042879452281;hb=402bda88d8556619738ebde95cbcacac2e9f1169;hpb=9de1287d67c9562e9140c6dc7deb0c01c4e10cc0 diff --git a/wma_common.c b/wma_common.c index ee7f451e..8886a061 100644 --- a/wma_common.c +++ b/wma_common.c @@ -1,18 +1,12 @@ /* - * Copyright (C) 2009-2012 Andre Noll + * Copyright (C) 2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file wma_common.c Functions used by both the WMA afh and decoder. */ -#include #include -#include -#include -#include -#include -#include #include "para.h" #include "error.h" @@ -115,6 +109,9 @@ int read_asf_header(const char *buf, int loaded, struct asf_header_info *ahi) ahi->flags2 = read_u16(start + 60); PARA_INFO_LOG("read_asf_header: flags1: %d, flag2: %d\n", ahi->flags1, ahi->flags2); + ahi->use_exp_vlc = ahi->flags2 & 0x0001; + ahi->use_bit_reservoir = ahi->flags2 & 0x0002; + ahi->use_variable_block_len = ahi->flags2 & 0x0004; return 1; }