aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGianluigi Tiesi <mplayer@netfarm.it>2005-01-03 16:13:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-03 16:13:52 +0000
commit8ff53f5b073d14528fd12f3a99d5beed4d8e2839 (patch)
treee8351ac51e44401312c1688689529b938692cfdb
parent119cebf42965bd28c74c2e99ba16c286c55c76df (diff)
downloadffmpeg-8ff53f5b073d14528fd12f3a99d5beed4d8e2839.tar.gz
Disable encoders patch by (Gianluigi Tiesi <mplayer netfarm it>)
Originally committed as revision 3797 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h261.c2
-rw-r--r--libavcodec/snow.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/h261.c b/libavcodec/h261.c
index 4286129dff..8536ea9c86 100644
--- a/libavcodec/h261.c
+++ b/libavcodec/h261.c
@@ -1013,6 +1013,7 @@ static int h261_decode_end(AVCodecContext *avctx)
return 0;
}
+#ifdef CONFIG_ENCODERS
AVCodec h261_encoder = {
"h261",
CODEC_TYPE_VIDEO,
@@ -1022,6 +1023,7 @@ AVCodec h261_encoder = {
MPV_encode_picture,
MPV_encode_end,
};
+#endif
AVCodec h261_decoder = {
"h261",
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 2a4a7d3d4f..c9d47a8aa1 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -3005,6 +3005,7 @@ AVCodec snow_decoder = {
NULL
};
+#ifdef CONFIG_ENCODERS
AVCodec snow_encoder = {
"snow",
CODEC_TYPE_VIDEO,
@@ -3014,6 +3015,7 @@ AVCodec snow_encoder = {
encode_frame,
encode_end,
};
+#endif
#if 0