diff mpegvideo.c @ 1686:68abbec33289 libavcodec

Here are juste two added #ifdef CONFIG_ENCODERS to allow libavcodec to compile without CONFIG_ENCODERS defined patch by (Aurelien Jacobs <aurel at gnuage dot org>)
author michael
date Sat, 13 Dec 2003 02:14:18 +0000
parents cb09cf265a87
children cdc3d4106fb6
line wrap: on
line diff
--- a/mpegvideo.c	Sat Dec 13 01:33:52 2003 +0000
+++ b/mpegvideo.c	Sat Dec 13 02:14:18 2003 +0000
@@ -4362,6 +4362,8 @@
     }
 }
 
+#endif //CONFIG_ENCODERS
+
 void ff_denoise_dct(MpegEncContext *s, DCTELEM *block){
     const int intra= s->mb_intra;
     int i;
@@ -4386,6 +4388,8 @@
     }
 }
 
+#ifdef CONFIG_ENCODERS
+
 static int dct_quantize_trellis_c(MpegEncContext *s, 
                         DCTELEM *block, int n,
                         int qscale, int *overflow){