2 * Copyright (C) 2006-2007 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file aac.h exported symbols from aac_common.c */
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);
16 static inline unsigned aac_read_int32(unsigned char *buf)
18 uint8_t *d = (uint8_t*)buf;
19 return (d[0] << 24) | (d[1] << 16) | (d[2] << 8) | d[3];