[FFmpeg-cvslog] r11035 - trunk/libavcodec/snow.c

diego subversion
Thu Nov 15 13:40:40 CET 2007


Author: diego
Date: Thu Nov 15 13:40:40 2007
New Revision: 11035

Log:
Put halfpel_interpol under the same #ifdef as its usage, fixes the warning:
snow.c:4142: warning: #halfpel_interpol# defined but not used


Modified:
   trunk/libavcodec/snow.c

Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c	(original)
+++ trunk/libavcodec/snow.c	Thu Nov 15 13:40:40 2007
@@ -4139,6 +4139,7 @@ static int encode_init(AVCodecContext *a
     return 0;
 }
 
+#ifdef USE_HALFPEL_PLANE
 static void halfpel_interpol(SnowContext *s, uint8_t *halfpel[4][4], AVFrame *frame){
     int p,x,y;
 
@@ -4182,6 +4183,7 @@ static void halfpel_interpol(SnowContext
 //FIXME border!
     }
 }
+#endif /* USE_HALFPEL_PLANE */
 
 static int frame_start(SnowContext *s){
    AVFrame tmp;




More information about the ffmpeg-cvslog mailing list