From 8ff53f5b073d14528fd12f3a99d5beed4d8e2839 Mon Sep 17 00:00:00 2001 From: Gianluigi Tiesi Date: Mon, 3 Jan 2005 16:13:52 +0000 Subject: [PATCH] Disable encoders patch by (Gianluigi Tiesi ) Originally committed as revision 3797 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h261.c | 2 ++ libavcodec/snow.c | 2 ++ 2 files changed, 4 insertions(+) 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