[SCM] libav/experimental: Compile fix by (Chip <szarlada at freemail dot hu>)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:39:39 UTC 2013


The following commit has been merged in the experimental branch:
commit 6b47b7300ebb4ffc2927198d3858b15d336870aa
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Mar 22 12:07:02 2004 +0000

    Compile fix by (Chip <szarlada at freemail dot hu>)
    
    Originally committed as revision 2915 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index b6ea682..28b20c3 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -536,6 +536,8 @@ void MPV_decode_defaults(MpegEncContext *s){
  * 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 @@ void MPV_encode_defaults(MpegEncContext *s){
     s->me.mv_penalty= default_mv_penalty;
     s->fcode_tab= default_fcode_tab;
 }
+#endif //CONFIG_ENCODERS
 
 /** 
  * init common structure for both encoder and decoder.

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list