Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/avcodec.h Tue Oct 28 09:23:26 2003 +0000 +++ b/avcodec.h Wed Oct 29 14:08:18 2003 +0000 @@ -16,7 +16,7 @@ #define FFMPEG_VERSION_INT 0x000408 #define FFMPEG_VERSION "0.4.8" -#define LIBAVCODEC_BUILD 4687 +#define LIBAVCODEC_BUILD 4688 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT #define LIBAVCODEC_VERSION FFMPEG_VERSION @@ -117,6 +117,9 @@ CODEC_ID_ROQ_DPCM, CODEC_ID_INTERPLAY_DPCM, CODEC_ID_XAN_DPCM, + + CODEC_ID_MPEG2TS, /* _FAKE_ codec to indicate a raw MPEG2 transport + stream (only used by libavformat) */ }; /* CODEC_ID_MP3LAME is absolete */ @@ -126,6 +129,7 @@ CODEC_TYPE_UNKNOWN = -1, CODEC_TYPE_VIDEO, CODEC_TYPE_AUDIO, + CODEC_TYPE_DATA, }; /**