changeset 576:f701ba509d0c libavformat

H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
author michael
date Thu, 28 Oct 2004 10:12:57 +0000
parents b7680f41ade9
children f8edb92d97b6
files raw.c
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Wed Oct 27 04:30:48 2004 +0000
+++ b/raw.c	Thu Oct 28 10:12:57 2004 +0000
@@ -344,6 +344,21 @@
     .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 @@
     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);