annotate dca.h @ 7670:dabe2516abe2 libavcodec

Increase buffer size to 16384 patch by Alexander E. Patrakov" patrakov gmail This fixes a (probably not exploitable) buffer overflow (apparently unknown to its author).
author michael
date Sat, 23 Aug 2008 13:29:13 +0000
parents 1d83e9c34641
children c4a4495715dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4599
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
1 /*
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
2 * DCA compatible decoder
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
3 * Copyright (C) 2004 Gildas Bazin
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
4 * Copyright (C) 2004 Benjamin Zores
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
5 * Copyright (C) 2006 Benjamin Larsson
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
6 * Copyright (C) 2007 Konstantin Shishkov
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
7 *
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
8 * This file is part of FFmpeg.
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
9 *
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
10 * FFmpeg is free software; you can redistribute it and/or
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
11 * modify it under the terms of the GNU Lesser General Public
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
12 * License as published by the Free Software Foundation; either
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
13 * version 2.1 of the License, or (at your option) any later version.
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
14 *
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
15 * FFmpeg is distributed in the hope that it will be useful,
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
18 * Lesser General Public License for more details.
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
19 *
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
20 * You should have received a copy of the GNU Lesser General Public
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
21 * License along with FFmpeg; if not, write to the Free Software
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
23 */
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
24
5830
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5169
diff changeset
25 #ifndef FFMPEG_DCA_H
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5169
diff changeset
26 #define FFMPEG_DCA_H
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 4899
diff changeset
27
4599
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
28 /** DCA syncwords, also used for bitstream type detection */
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
29 #define DCA_MARKER_RAW_BE 0x7FFE8001
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
30 #define DCA_MARKER_RAW_LE 0xFE7F0180
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
31 #define DCA_MARKER_14B_BE 0x1FFFE800
2cd245d65761 DCA decoder
kostya
parents:
diff changeset
32 #define DCA_MARKER_14B_LE 0xFF1F00E8
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 4899
diff changeset
33
5830
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5169
diff changeset
34 #endif /* FFMPEG_DCA_H */