aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-05-02 22:14:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-02 22:14:42 +0000
commit8b975b7ca5b2a18c8825e7e110854a11244cdf78 (patch)
treec4f80c7d1d276b58c2add6f7577642ee521b1cc4 /libavcodec/allcodecs.c
parent5cc9a6dc19582277c0cb5532b0ca3a54edeedf7d (diff)
downloadffmpeg-8b975b7ca5b2a18c8825e7e110854a11244cdf78.tar.gz
put most codecs under ifdefs
Originally committed as revision 4173 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 37fdbd6dab..9cddeb6d72 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -542,9 +542,13 @@ PCM_CODEC(CODEC_ID_ADPCM_SWF, adpcm_swf);
/* parsers */
av_register_codec_parser(&mpegvideo_parser);
av_register_codec_parser(&mpeg4video_parser);
+#if defined(CONFIG_H261_DECODER) || defined(CONFIG_H261_ENCODER)
av_register_codec_parser(&h261_parser);
+#endif
av_register_codec_parser(&h263_parser);
+#ifdef CONFIG_H264_DECODER
av_register_codec_parser(&h264_parser);
+#endif
av_register_codec_parser(&mjpeg_parser);
av_register_codec_parser(&pnm_parser);