diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-28 10:12:57 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-28 10:12:57 +0000 |
commit | 1c3990dbba6a1e594c8a273e85c8460d90d29643 (patch) | |
tree | 432737cb6f39a6f434f284d6bacf0f56c1886430 /libavformat/raw.c | |
parent | d7e2f57f0e6d1b8f51dd8f5b3324263d4b4d935a (diff) | |
download | ffmpeg-1c3990dbba6a1e594c8a273e85c8460d90d29643.tar.gz |
H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r-- | libavformat/raw.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c index 2ae744943d..bfb5e1ae5c 100644 --- a/libavformat/raw.c +++ b/libavformat/raw.c @@ -344,6 +344,21 @@ AVInputFormat h261_iformat = { .value = CODEC_ID_H261, }; +#ifdef CONFIG_ENCODERS +AVOutputFormat h261_oformat = { + "h261", + "raw h261", + "video/x-h261", + "h261", + 0, + 0, + CODEC_ID_H261, + raw_write_header, + raw_write_packet, + raw_write_trailer, +}; +#endif //CONFIG_ENCODERS + AVInputFormat h263_iformat = { "h263", "raw h263", @@ -648,6 +663,7 @@ int raw_init(void) av_register_input_format(&dts_iformat); av_register_input_format(&h261_iformat); + av_register_output_format(&h261_oformat); av_register_input_format(&h263_iformat); av_register_output_format(&h263_oformat); |