summaryrefslogtreecommitdiff
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-02-15 12:43:58 +0200
committerMartin Storsjö <martin@martin.st>2012-02-15 22:06:58 +0200
commit35e02a3d0e49522d2810df76dab8cdac76ef804f (patch)
tree9b57b7343008580486758621e2b47ba3f8aea8ba /libavcodec/snow.c
parentd6c8dcb8ac0b844f24a07168022dead5e5ff9b91 (diff)
snow: Add ff_ prefix to nonstatic symbols
This allows getting rid of a hack for conflicting symbol/define names. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 27c7e25189..384cda82ac 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -99,7 +99,7 @@ static void init_qexp(void){
double v=128;
for(i=0; i<QROOT; i++){
- qexp[i]= lrintf(v);
+ ff_qexp[i]= lrintf(v);
v *= pow(2, 1.0 / QROOT);
}
}
@@ -443,7 +443,7 @@ av_cold int ff_snow_common_init(AVCodecContext *avctx){
for(i=0; i<MAX_REF_FRAMES; i++)
for(j=0; j<MAX_REF_FRAMES; j++)
- scale_mv_ref[i][j] = 256*(i+1)/(j+1);
+ ff_scale_mv_ref[i][j] = 256*(i+1)/(j+1);
s->avctx->get_buffer(s->avctx, &s->mconly_picture);
s->scratchbuf = av_malloc(s->mconly_picture.linesize[0]*7*MB_SIZE);