changeset 2408:a6e4da1c28ee libavcodec

Disable encoders patch by (Gianluigi Tiesi <mplayer netfarm it>)
author michael
date Mon, 03 Jan 2005 16:13:52 +0000
parents cb521eadf9ae
children 26778a857b5b
files h261.c snow.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h261.c	Mon Jan 03 00:36:26 2005 +0000
+++ b/h261.c	Mon Jan 03 16:13:52 2005 +0000
@@ -1013,6 +1013,7 @@
     return 0;
 }
 
+#ifdef CONFIG_ENCODERS
 AVCodec h261_encoder = {
     "h261",
     CODEC_TYPE_VIDEO,
@@ -1022,6 +1023,7 @@
     MPV_encode_picture,
     MPV_encode_end,
 };
+#endif
 
 AVCodec h261_decoder = {
     "h261",
--- a/snow.c	Mon Jan 03 00:36:26 2005 +0000
+++ b/snow.c	Mon Jan 03 16:13:52 2005 +0000
@@ -3005,6 +3005,7 @@
     NULL
 };
 
+#ifdef CONFIG_ENCODERS
 AVCodec snow_encoder = {
     "snow",
     CODEC_TYPE_VIDEO,
@@ -3014,6 +3015,7 @@
     encode_frame,
     encode_end,
 };
+#endif
 
 
 #if 0