Mercurial > libavformat.hg
annotate rm.c @ 6101:affa412d5500 libavformat
Do not read the RM index when input is streamed (since it requires seeking
forward and then back again) or AVFMT_FLAG_IGNIDX is set.
author | reimar |
---|---|
date | Sun, 06 Jun 2010 18:48:49 +0000 |
parents | 87e28edf7a98 |
children |
rev | line source |
---|---|
4522 | 1 /* |
2 * "Real" compatible muxer and demuxer common code. | |
3 * Copyright (c) 2009 Aurelien Jacobs <aurel@gnuage.org> | |
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 #include "rm.h" | |
23 | |
5161 | 24 const char * const ff_rm_metadata[4] = { |
4522 | 25 "title", |
26 "author", | |
27 "copyright", | |
28 "comment" | |
29 }; | |
6064
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
30 |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
31 const AVCodecTag ff_rm_codec_tags[] = { |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
32 { CODEC_ID_RV10, MKTAG('R','V','1','0') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
33 { CODEC_ID_RV20, MKTAG('R','V','2','0') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
34 { CODEC_ID_RV20, MKTAG('R','V','T','R') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
35 { CODEC_ID_RV30, MKTAG('R','V','3','0') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
36 { CODEC_ID_RV40, MKTAG('R','V','4','0') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
37 { CODEC_ID_AC3, MKTAG('d','n','e','t') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
38 { CODEC_ID_RA_144, MKTAG('l','p','c','J') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
39 { CODEC_ID_RA_288, MKTAG('2','8','_','8') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
40 { CODEC_ID_COOK, MKTAG('c','o','o','k') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
41 { CODEC_ID_ATRAC3, MKTAG('a','t','r','c') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
42 { CODEC_ID_SIPR, MKTAG('s','i','p','r') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
43 { CODEC_ID_AAC, MKTAG('r','a','a','c') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
44 { CODEC_ID_AAC, MKTAG('r','a','c','p') }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
45 { CODEC_ID_NONE }, |
87e28edf7a98
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
rbultje
parents:
5161
diff
changeset
|
46 }; |