Mercurial > libavcodec.hg
annotate raw.h @ 8968:b123ed268953 libavcodec
Instead of crashing, return from ff_vdpau_mpeg_picture_complete()
if get_buffer() failed.
Patch by Reimar
author | cehoyos |
---|---|
date | Wed, 18 Feb 2009 09:21:29 +0000 |
parents | e9d9d946f213 |
children | 7dd2a45249a9 |
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 /** | |
8718
e9d9d946f213
Use full internal pathname in doxygen @file directives.
diego
parents:
8629
diff
changeset
|
23 * @file libavcodec/raw.h |
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 | |
37 extern const PixelFormatTag ff_raw_pixelFormatTags[]; | |
38 | |
7760 | 39 #endif /* AVCODEC_RAW_H */ |