Mercurial > libavcodec.hg
changeset 5923:ae61a5713584 libavcodec
Put halfpel_interpol under the same #ifdef as its usage, fixes the warning:
snow.c:4142: warning: #halfpel_interpol# defined but not used
author | diego |
---|---|
date | Thu, 15 Nov 2007 12:40:40 +0000 |
parents | b731c1f3d806 |
children | cf1eed15eb87 |
files | snow.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/snow.c Thu Nov 15 10:28:12 2007 +0000 +++ b/snow.c Thu Nov 15 12:40:40 2007 +0000 @@ -4139,6 +4139,7 @@ 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 @@ //FIXME border! } } +#endif /* USE_HALFPEL_PLANE */ static int frame_start(SnowContext *s){ AVFrame tmp;