annotate avi.h @ 5786:7d670040187e libavformat

In mpegts muxer, search for h264 aud nal, it might not be the first nal. Improve ther error message when bitstream is malformated and tell user to use the bitstream filter.
author bcoudurier
date Mon, 08 Mar 2010 23:59:05 +0000
parents 5d3ac5652047
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3107
diff changeset
21 #ifndef AVFORMAT_AVI_H
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3107
diff changeset
22 #define AVFORMAT_AVI_H
122
013a7a0f2a1f * keeping compiler happy and quiet
kabi
parents: 120
diff changeset
23
5633
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
24 #include "metadata.h"
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
25
887
d70e50f1495f COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 885
diff changeset
26 #define AVIF_HASINDEX 0x00000010 // Index at end of file?
d70e50f1495f COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 885
diff changeset
27 #define AVIF_MUSTUSEINDEX 0x00000020
d70e50f1495f COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 885
diff changeset
28 #define AVIF_ISINTERLEAVED 0x00000100
d70e50f1495f COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 885
diff changeset
29 #define AVIF_TRUSTCKTYPE 0x00000800 // Use CKType to find key frames?
d70e50f1495f COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 885
diff changeset
30 #define AVIF_WASCAPTUREFILE 0x00010000
d70e50f1495f COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 885
diff changeset
31 #define AVIF_COPYRIGHTED 0x00020000
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
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
602546f3cbea Complete support for OpenDML AVIs and AVIs > 2Gb.
romansh
parents: 102
diff changeset
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
e07654b1049c initial seek support
bellard
parents: 229
diff changeset
36 /* index flags */
e07654b1049c initial seek support
bellard
parents: 229
diff changeset
37 #define AVIIF_INDEX 0x10
e07654b1049c initial seek support
bellard
parents: 229
diff changeset
38
5633
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
39 extern const AVMetadataConv ff_avi_metadata_conv[];
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
40
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
41 /**
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
42 * A list of AVI info tags.
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
43 */
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
44 extern const char ff_avi_tags[][5];
5d3ac5652047 Add AVI metadata conversion table.
jai_menon
parents: 3852
diff changeset
45
3852
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 3107
diff changeset
46 #endif /* AVFORMAT_AVI_H */