Pass full argument list to mood parsers.
[paraslash.git] / aac.h
1 /*
2 * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
3 *
4 * Licensed under the GPL v2. For licencing details see COPYING.
5 */
6
7 /** \file aac.h exported symbols from aac_common.c */
8
9 #include <neaacdec.h>
10
11 NeAACDecHandle aac_open(void);
12 int aac_find_esds(unsigned char *buf, size_t buflen, size_t *skip,
13 unsigned long *decoder_length);
14 ssize_t aac_find_entry_point(unsigned char *buf, size_t buflen, size_t *skip);
15
16 static inline unsigned aac_read_int32(unsigned char *buf)
17 {
18 uint8_t *d = (uint8_t*)buf;
19 return (d[0] << 24) | (d[1] << 16) | (d[2] << 8) | d[3];
20 }