apetag: account for header size if present when returning the start position
[libav.git] / libavformat / aiff.h
CommitLineData
47b47bbd
JR
1/*
2 * AIFF/AIFF-C muxer/demuxer common header
3 * Copyright (c) 2006 Patrick Guimond
4 *
2912e87a 5 * This file is part of Libav.
47b47bbd 6 *
2912e87a 7 * Libav is free software; you can redistribute it and/or
47b47bbd
JR
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
2912e87a 12 * Libav is distributed in the hope that it will be useful,
47b47bbd
JR
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
2912e87a 18 * License along with Libav; if not, write to the Free Software
47b47bbd
JR
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22/**
ba87f080 23 * @file
47b47bbd
JR
24 * common header for AIFF muxer and demuxer
25 */
26
27#ifndef AVFORMAT_AIFF_H
28#define AVFORMAT_AIFF_H
29
30#include "avformat.h"
bfe5454c 31#include "internal.h"
47b47bbd
JR
32
33static const AVCodecTag ff_codec_aiff_tags[] = {
36ef5369
AK
34 { AV_CODEC_ID_PCM_S16BE, MKTAG('N','O','N','E') },
35 { AV_CODEC_ID_PCM_S8, MKTAG('N','O','N','E') },
36 { AV_CODEC_ID_PCM_S24BE, MKTAG('N','O','N','E') },
37 { AV_CODEC_ID_PCM_S32BE, MKTAG('N','O','N','E') },
38 { AV_CODEC_ID_PCM_F32BE, MKTAG('f','l','3','2') },
39 { AV_CODEC_ID_PCM_F64BE, MKTAG('f','l','6','4') },
40 { AV_CODEC_ID_PCM_ALAW, MKTAG('a','l','a','w') },
41 { AV_CODEC_ID_PCM_MULAW, MKTAG('u','l','a','w') },
42 { AV_CODEC_ID_MACE3, MKTAG('M','A','C','3') },
43 { AV_CODEC_ID_MACE6, MKTAG('M','A','C','6') },
44 { AV_CODEC_ID_GSM, MKTAG('G','S','M',' ') },
73b03249 45 { AV_CODEC_ID_ADPCM_G722, MKTAG('G','7','2','2') },
36ef5369
AK
46 { AV_CODEC_ID_ADPCM_G726, MKTAG('G','7','2','6') },
47 { AV_CODEC_ID_PCM_S16BE, MKTAG('t','w','o','s') },
48 { AV_CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') },
49 { AV_CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },
50 { AV_CODEC_ID_QDM2, MKTAG('Q','D','M','2') },
51 { AV_CODEC_ID_QCELP, MKTAG('Q','c','l','p') },
52 { AV_CODEC_ID_NONE, 0 },
47b47bbd
JR
53};
54
55#endif /* AVFORMAT_AIFF_H */