Mercurial > libavformat.hg
annotate avi.h @ 5983:cb7e1e218016 libavformat
Make file_open() return the error code set in errno if open() fails,
rather than always ENOENT.
author | stefano |
---|---|
date | Mon, 26 Apr 2010 22:36:51 +0000 |
parents | 5d3ac5652047 |
children |
rev | line source |
---|---|
1306
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
1 /* |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
2 * copyright (c) 2001 Fabrice Bellard |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
3 * |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1306
diff
changeset
|
4 * This file is part of FFmpeg. |
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1306
diff
changeset
|
5 * |
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1306
diff
changeset
|
6 * FFmpeg is free software; you can redistribute it and/or |
1306
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
7 * modify it under the terms of the GNU Lesser General Public |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
8 * License as published by the Free Software Foundation; either |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1306
diff
changeset
|
9 * version 2.1 of the License, or (at your option) any later version. |
1306
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
10 * |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1306
diff
changeset
|
11 * FFmpeg is distributed in the hope that it will be useful, |
1306
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
14 * Lesser General Public License for more details. |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
15 * |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
16 * You should have received a copy of the GNU Lesser General Public |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1306
diff
changeset
|
17 * License along with FFmpeg; if not, write to the Free Software |
1306
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
19 */ |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1172
diff
changeset
|
20 |
3852 | 21 #ifndef AVFORMAT_AVI_H |
22 #define AVFORMAT_AVI_H | |
122 | 23 |
5633 | 24 #include "metadata.h" |
25 | |
887 | 26 #define AVIF_HASINDEX 0x00000010 // Index at end of file? |
27 #define AVIF_MUSTUSEINDEX 0x00000020 | |
28 #define AVIF_ISINTERLEAVED 0x00000100 | |
29 #define AVIF_TRUSTCKTYPE 0x00000800 // Use CKType to find key frames? | |
30 #define AVIF_WASCAPTUREFILE 0x00010000 | |
31 #define AVIF_COPYRIGHTED 0x00020000 | |
0 | 32 |
102
c48108fe538e
AVI > 2Gb (OpenDML) generation patch by (Roman Shaposhnick <rvs at sun dot com>)
michaelni
parents:
84
diff
changeset
|
33 #define AVI_MAX_RIFF_SIZE 0x40000000LL |
119 | 34 #define AVI_MASTER_INDEX_SIZE 256 |
102
c48108fe538e
AVI > 2Gb (OpenDML) generation patch by (Roman Shaposhnick <rvs at sun dot com>)
michaelni
parents:
84
diff
changeset
|
35 |
311 | 36 /* index flags */ |
37 #define AVIIF_INDEX 0x10 | |
38 | |
5633 | 39 extern const AVMetadataConv ff_avi_metadata_conv[]; |
40 | |
41 /** | |
42 * A list of AVI info tags. | |
43 */ | |
44 extern const char ff_avi_tags[][5]; | |
45 | |
3852 | 46 #endif /* AVFORMAT_AVI_H */ |