Mercurial > libavcodec.hg
annotate raw.h @ 12043:f9a0bd0888a4 libavcodec
mpegaudio: call ff_mpegaudiodec_init_mmx() only from float decoder
The mmx code is floating-point only, and this function does not know
from which decoder it is called. Without this change, the integer
decoder only "works" because the size of the context struct is smaller
in this case, and the mmx init function writes the function pointer
outside the allocated context.
author | mru |
---|---|
date | Thu, 01 Jul 2010 23:21:17 +0000 |
parents | 378caf7b42ef |
children |
rev | line source |
---|---|
5264 | 1 /* |
2 * Raw Video Codec | |
8629
04423b2f6e0b
cosmetics: Remove pointless period after copyright statement non-sentences.
diego
parents:
8023
diff
changeset
|
3 * Copyright (c) 2001 Fabrice Bellard |
5264 | 4 * |
5 * This file is part of FFmpeg. | |
6 * | |
7 * FFmpeg is free software; you can redistribute it and/or | |
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 * | |
12 * FFmpeg is distributed in the hope that it will be useful, | |
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 | |
18 * License along with FFmpeg; if not, write to the Free Software | |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
20 */ | |
21 | |
22 /** | |
11644
7dd2a45249a9
Remove explicit filename from Doxygen @file commands.
diego
parents:
8718
diff
changeset
|
23 * @file |
5264 | 24 * Raw Video Codec |
25 */ | |
26 | |
7760 | 27 #ifndef AVCODEC_RAW_H |
28 #define AVCODEC_RAW_H | |
5264 | 29 |
30 #include "avcodec.h" | |
31 | |
32 typedef struct PixelFormatTag { | |
8023
76f6a08c9fe6
Fix some icc warnings by using enum PixelFormat instead of int where appropriate.
cehoyos
parents:
7760
diff
changeset
|
33 enum PixelFormat pix_fmt; |
5264 | 34 unsigned int fourcc; |
35 } PixelFormatTag; | |
36 | |
11751
378caf7b42ef
Rename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.
stefano
parents:
11644
diff
changeset
|
37 extern const PixelFormatTag ff_raw_pix_fmt_tags[]; |
5264 | 38 |
7760 | 39 #endif /* AVCODEC_RAW_H */ |