changeset 1902:a5588762c4fa libavcodec

Compile fix by (Chip <szarlada at freemail dot hu>)
author michael
date Mon, 22 Mar 2004 12:07:02 +0000
parents bc5039adb9af
children c94b19667d8b
files mpegvideo.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Mon Mar 22 11:00:51 2004 +0000
+++ b/mpegvideo.c	Mon Mar 22 12:07:02 2004 +0000
@@ -536,6 +536,8 @@
  * sets the given MpegEncContext to defaults for encoding.
  * the changed fields will not depend upon the prior state of the MpegEncContext.
  */
+
+#ifdef CONFIG_ENCODERS
 void MPV_encode_defaults(MpegEncContext *s){
     static int done=0;
     
@@ -556,6 +558,7 @@
     s->me.mv_penalty= default_mv_penalty;
     s->fcode_tab= default_fcode_tab;
 }
+#endif //CONFIG_ENCODERS
 
 /** 
  * init common structure for both encoder and decoder.