Mercurial > libavcodec.hg
comparison avcodec.h @ 1582:ece0ad14a35d libavcodec
added fake codec CODEC_ID_MPEG2TS of type CODEC_TYPE_DATA (needed for simpler handling of raw transport streams in ffserver and RTP - better solutions are welcomed)
author | bellard |
---|---|
date | Wed, 29 Oct 2003 14:08:18 +0000 |
parents | 5d53c03186a1 |
children | 6b224ca24033 |
comparison
equal
deleted
inserted
replaced
1581:d2fc92d02bf7 | 1582:ece0ad14a35d |
---|---|
14 #include "common.h" | 14 #include "common.h" |
15 #include "rational.h" | 15 #include "rational.h" |
16 | 16 |
17 #define FFMPEG_VERSION_INT 0x000408 | 17 #define FFMPEG_VERSION_INT 0x000408 |
18 #define FFMPEG_VERSION "0.4.8" | 18 #define FFMPEG_VERSION "0.4.8" |
19 #define LIBAVCODEC_BUILD 4687 | 19 #define LIBAVCODEC_BUILD 4688 |
20 | 20 |
21 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT | 21 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT |
22 #define LIBAVCODEC_VERSION FFMPEG_VERSION | 22 #define LIBAVCODEC_VERSION FFMPEG_VERSION |
23 | 23 |
24 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 24 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
115 | 115 |
116 /* various DPCM codecs */ | 116 /* various DPCM codecs */ |
117 CODEC_ID_ROQ_DPCM, | 117 CODEC_ID_ROQ_DPCM, |
118 CODEC_ID_INTERPLAY_DPCM, | 118 CODEC_ID_INTERPLAY_DPCM, |
119 CODEC_ID_XAN_DPCM, | 119 CODEC_ID_XAN_DPCM, |
120 | |
121 CODEC_ID_MPEG2TS, /* _FAKE_ codec to indicate a raw MPEG2 transport | |
122 stream (only used by libavformat) */ | |
120 }; | 123 }; |
121 | 124 |
122 /* CODEC_ID_MP3LAME is absolete */ | 125 /* CODEC_ID_MP3LAME is absolete */ |
123 #define CODEC_ID_MP3LAME CODEC_ID_MP3 | 126 #define CODEC_ID_MP3LAME CODEC_ID_MP3 |
124 | 127 |
125 enum CodecType { | 128 enum CodecType { |
126 CODEC_TYPE_UNKNOWN = -1, | 129 CODEC_TYPE_UNKNOWN = -1, |
127 CODEC_TYPE_VIDEO, | 130 CODEC_TYPE_VIDEO, |
128 CODEC_TYPE_AUDIO, | 131 CODEC_TYPE_AUDIO, |
132 CODEC_TYPE_DATA, | |
129 }; | 133 }; |
130 | 134 |
131 /** | 135 /** |
132 * Pixel format. Notes: | 136 * Pixel format. Notes: |
133 * | 137 * |