aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/raw.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-28 10:12:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-28 10:12:57 +0000
commit1c3990dbba6a1e594c8a273e85c8460d90d29643 (patch)
tree432737cb6f39a6f434f284d6bacf0f56c1886430 /libavformat/raw.c
parentd7e2f57f0e6d1b8f51dd8f5b3324263d4b4d935a (diff)
downloadffmpeg-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.c16
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);