diff mpegvideo.c @ 1530:3b31998fe22f libavcodec

disable encoders where appropriate (patch courtesy of BERO <bero -at- geocities.co.jp>)
author melanson
date Tue, 14 Oct 2003 04:15:53 +0000
parents 925bcd748f4b
children 14d01ccc0081
line wrap: on
line diff
--- a/mpegvideo.c	Mon Oct 13 19:38:34 2003 +0000
+++ b/mpegvideo.c	Tue Oct 14 04:15:53 2003 +0000
@@ -173,6 +173,7 @@
     }
 }
 
+#ifdef CONFIG_ENCODERS
 void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix){
     int i;
 
@@ -184,6 +185,7 @@
     }else
         put_bits(pb, 1, 0);
 }
+#endif //CONFIG_ENCODERS
 
 /* init common dct for both encoder and decoder */
 int DCT_common_init(MpegEncContext *s)