diff allformats.c @ 20:3d52de18ecc3 libavformat

added still image support
author bellard
date Sat, 11 Jan 2003 05:02:14 +0000
parents 05318cf2e886
children fcdea3df94fe
line wrap: on
line diff
--- a/allformats.c	Sat Jan 11 04:59:17 2003 +0000
+++ b/allformats.c	Sat Jan 11 05:02:14 2003 +0000
@@ -45,6 +45,8 @@
     mov_init();
     jpeg_init();
     dv_init();
+
+    av_register_output_format(&yuv4mpegpipe_oformat);
     
 #ifdef CONFIG_VORBIS
     ogg_init();
@@ -60,6 +62,14 @@
     audio_init();
 #endif
 
+    /* image formats */
+    av_register_image_format(&pnm_image_format);
+    av_register_image_format(&pbm_image_format);
+    av_register_image_format(&pgm_image_format);
+    av_register_image_format(&ppm_image_format);
+    av_register_image_format(&pgmyuv_image_format);
+    av_register_image_format(&yuv_image_format);
+
     /* file protocols */
     register_protocol(&file_protocol);
     register_protocol(&pipe_protocol);