OSDN Git Service

Disable encoders patch by (Gianluigi Tiesi <mplayer netfarm it>)
authorGianluigi Tiesi <mplayer@netfarm.it>
Mon, 3 Jan 2005 16:13:52 +0000 (16:13 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Jan 2005 16:13:52 +0000 (16:13 +0000)
Originally committed as revision 3797 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h261.c
libavcodec/snow.c

index 4286129..8536ea9 100644 (file)
@@ -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",
index 2a4a7d3..c9d47a8 100644 (file)
@@ -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