changeset 2077:00ba706bc844 libavcodec

the ongoing struggle for encoding conditionals
author melanson
date Sun, 13 Jun 2004 00:10:07 +0000
parents 23280e1b8dbf
children 3dabadc91d19
files svq1.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/svq1.c	Sat Jun 12 16:51:15 2004 +0000
+++ b/svq1.c	Sun Jun 13 00:10:07 2004 +0000
@@ -1067,6 +1067,8 @@
     return best_score;
 }
 
+#ifdef CONFIG_ENCODERS
+
 static void svq1_encode_plane(SVQ1Context *s, int plane, unsigned char *src_plane, unsigned char *ref_plane, unsigned char *decoded_plane,
     int width, int height, int src_stride, int stride)
 {
@@ -1367,6 +1369,8 @@
     return 0;
 }
 
+#endif //CONFIG_ENCODERS
+
 AVCodec svq1_decoder = {
     "svq1",
     CODEC_TYPE_VIDEO,