summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-11-15 12:40:40 +0000
committerDiego Biurrun <diego@biurrun.de>2007-11-15 12:40:40 +0000
commita0c013de34964a24871ed601e36f486c271aa149 (patch)
tree047a23df42c57c49501f4826a88f9748779aceb0
parent3b8554662b9a4f920247eb4aa34dfe1ee92d9bc1 (diff)
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
-rw-r--r--libavcodec/snow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 2b328b80c9..8c8c6319a0 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -4139,6 +4139,7 @@ static int encode_init(AVCodecContext *avctx)
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 *s, uint8_t *halfpel[4][4], AVFrame *fr
//FIXME border!
}
}
+#endif /* USE_HALFPEL_PLANE */
static int frame_start(SnowContext *s){
AVFrame tmp;