annotate mpegaudiodecheader.h @ 7225:f8b6ec3e5538 libavcodec

fix IPCM_decode_error.h264
author michael
date Wed, 09 Jul 2008 06:03:59 +0000
parents f7cbb7733146
children c4a4495715dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5050
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
1 /*
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
2 * MPEG Audio header decoder
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
3 * Copyright (c) 2001, 2002 Fabrice Bellard.
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
4 *
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
5 * This file is part of FFmpeg.
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
6 *
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
11 *
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
15 * Lesser General Public License for more details.
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
16 *
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
20 */
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
21
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
22 /**
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
23 * @file mpegaudiodecheader.c
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
24 * MPEG Audio header decoder.
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
25 */
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
26
5830
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5051
diff changeset
27 #ifndef FFMPEG_MPEGAUDIODECHEADER_H
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5051
diff changeset
28 #define FFMPEG_MPEGAUDIODECHEADER_H
5050
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
29
6763
f7cbb7733146 Use full path for #includes from another directory.
diego
parents: 5830
diff changeset
30 #include "libavutil/common.h"
5050
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
31 #include "mpegaudio.h"
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
32
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
33
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
34 /* header decoding. MUST check the header before because no
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
35 consistency check is done there. Return 1 if free format found and
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
36 that the frame size must be computed externally */
5051
b908c67063c8 add a ff_ prefix to some mpegaudio funcs
aurel
parents: 5050
diff changeset
37 int ff_mpegaudio_decode_header(MPADecodeContext *s, uint32_t header);
5050
a5f6fbc9fa66 loosen dependencies over mpegaudiodec
aurel
parents:
diff changeset
38
5830
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5051
diff changeset
39 #endif /* FFMPEG_MPEGAUDIODECHEADER_H */