Mercurial > libavformat.hg
annotate isom.h @ 1326:142fb755fbf5 libavformat
support forward seeking in non seekable streams
author | michael |
---|---|
date | Tue, 26 Sep 2006 17:09:03 +0000 |
parents | 8bf9be9bb107 |
children | 0899bfe4105c |
rev | line source |
---|---|
1306
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
1 /* |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
2 * ISO Media common code |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
3 * copyright (c) 2001 Fabrice Bellard. |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
4 * copyright (c) 2002 Francois Revol <revol@free.fr> |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
5 * copyright (c) 2006 Baptiste Coudurier <baptiste.coudurier@free.fr> |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
6 * |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
7 * This library is free software; you can redistribute it and/or |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
8 * 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:
1216
diff
changeset
|
9 * License as published by the Free Software Foundation; either |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
10 * version 2 of the License, or (at your option) any later version. |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
11 * |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
12 * This library is distributed in the hope that it will be useful, |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
13 * 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:
1216
diff
changeset
|
14 * 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:
1216
diff
changeset
|
15 * Lesser General Public License for more details. |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
16 * |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
17 * You should have received a copy of the GNU Lesser General Public |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
18 * License along with this library; if not, write to the Free Software |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
19 * 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:
1216
diff
changeset
|
20 */ |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
1216
diff
changeset
|
21 |
1216
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1059
diff
changeset
|
22 #ifndef FFMPEG_ISOM_H |
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1059
diff
changeset
|
23 #define FFMPEG_ISOM_H |
943
4e7a66723f1d
mp4 codecs objecttype handling patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
michael
parents:
diff
changeset
|
24 |
1216
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1059
diff
changeset
|
25 /* isom.c */ |
943
4e7a66723f1d
mp4 codecs objecttype handling patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
michael
parents:
diff
changeset
|
26 extern const CodecTag ff_mov_obj_type[]; |
1216
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1059
diff
changeset
|
27 |
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1059
diff
changeset
|
28 int ff_mov_iso639_to_lang(const char *lang, int mp4); |
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1059
diff
changeset
|
29 int ff_mov_lang_to_iso639(int code, char *to); |
943
4e7a66723f1d
mp4 codecs objecttype handling patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
michael
parents:
diff
changeset
|
30 |
971
43f85eba04c4
CTTS support patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com>)
michael
parents:
943
diff
changeset
|
31 typedef struct Time2Sample{ |
43f85eba04c4
CTTS support patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com>)
michael
parents:
943
diff
changeset
|
32 int count; |
43f85eba04c4
CTTS support patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com>)
michael
parents:
943
diff
changeset
|
33 int duration; |
43f85eba04c4
CTTS support patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com>)
michael
parents:
943
diff
changeset
|
34 }Time2Sample; |
43f85eba04c4
CTTS support patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com>)
michael
parents:
943
diff
changeset
|
35 |
1216
fec0a3d5408f
move common code from mov.c and movenc.c to isom.c
bcoudurier
parents:
1059
diff
changeset
|
36 #endif /* FFMPEG_ISOM_H */ |