projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b85546
)
Put halfpel_interpol under the same #ifdef as its usage, fixes the warning:
author
Diego Biurrun
<diego@biurrun.de>
Thu, 15 Nov 2007 12:40:40 +0000
(12:40 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 15 Nov 2007 12:40:40 +0000
(12:40 +0000)
snow.c:4142: warning: #halfpel_interpol# defined but not used
Originally committed as revision 11035 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/snow.c
patch
|
blob
|
history
diff --git
a/libavcodec/snow.c
b/libavcodec/snow.c
index
2b328b8
..
8c8c631
100644
(file)
--- 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;