summaryrefslogtreecommitdiff
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-12-07 04:17:01 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-12-07 04:17:01 +0000
commitf48d6e1b44e591b337c10080480ae642488b1d1d (patch)
treee722422ec787acc8a7f157d5052d74b2180d36d9 /libavcodec/allcodecs.c
parentf27a726809bf8e5e1fa24638bbd6e04afa1fcd36 (diff)
ZMBV encoder
Originally committed as revision 7242 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 9678f6bee4..7bfa2d4970 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -155,7 +155,9 @@ void avcodec_register_all(void)
REGISTER_ENCODER(XVID, xvid);
#endif
REGISTER_ENCDEC (ZLIB, zlib);
- REGISTER_DECODER(ZMBV, zmbv);
+#ifdef CONFIG_ZLIB
+ REGISTER_ENCDEC (ZMBV, zmbv);
+#endif
/* audio codecs */
#ifdef CONFIG_FAAD