summaryrefslogtreecommitdiffstats
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorFabrice Bellard <[email protected]>2003-01-11 05:02:14 +0000
committerFabrice Bellard <[email protected]>2003-01-11 05:02:14 +0000
commit87a0a6816f63c37fd6ea78ff8801e9f2d18e93f7 (patch)
tree7fef66f2bcce32f3d60bc8306e3c6de8df6524bf /libavformat/allformats.c
parentf746a0461694a8951d003395d79af8eba9dae5ed (diff)
added still image support
Originally committed as revision 1439 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 8a65638e88..98702e4795 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -45,6 +45,8 @@ void av_register_all(void)
mov_init();
jpeg_init();
dv_init();
+
+ av_register_output_format(&yuv4mpegpipe_oformat);
#ifdef CONFIG_VORBIS
ogg_init();
@@ -60,6 +62,14 @@ void av_register_all(void)
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);