/* mkvmerge -- utility for splicing together matroska files from component media subtypes aac_common.h Written by Moritz Bunkus Distributed under the GPL see the file COPYING for details or visit http://www.gnu.org/copyleft/gpl.html */ /*! \file \version \$Id: aac_common.h,v 1.4 2003/05/19 20:51:12 mosu Exp $ \brief definitions and helper functions for AAC data \author Moritz Bunkus */ #ifndef __AACCOMMON_H #define __AACCOMMON_H typedef struct { int sample_rate; int bit_rate; int channels; int bytes; int id; // 0 = MPEG-4, 1 = MPEG-2 int profile; int header_bit_size, header_byte_size, data_byte_size; } aac_header_t; int parse_aac_adif_header(unsigned char *buf, int size, aac_header_t *aac_header); int find_aac_header(unsigned char *buf, int size, aac_header_t *aac_header); #endif // __AACCOMMON_H