Browse Source

Put halfpel_interpol under the same #ifdef as its usage, fixes the warning:

snow.c:4142: warning: #halfpel_interpol# defined but not used

Originally committed as revision 11035 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 17 years ago
parent
commit
a0c013de34
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/snow.c

+ 2
- 0
libavcodec/snow.c View File

@@ -4139,6 +4139,7 @@ static int encode_init(AVCodecContext *avctx)
return 0; return 0;
} }


#ifdef USE_HALFPEL_PLANE
static void halfpel_interpol(SnowContext *s, uint8_t *halfpel[4][4], AVFrame *frame){ static void halfpel_interpol(SnowContext *s, uint8_t *halfpel[4][4], AVFrame *frame){
int p,x,y; int p,x,y;


@@ -4182,6 +4183,7 @@ static void halfpel_interpol(SnowContext *s, uint8_t *halfpel[4][4], AVFrame *fr
//FIXME border! //FIXME border!
} }
} }
#endif /* USE_HALFPEL_PLANE */


static int frame_start(SnowContext *s){ static int frame_start(SnowContext *s){
AVFrame tmp; AVFrame tmp;


Loading…
Cancel
Save