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>
This commit is contained in:
Martin Storsjö
2012-02-15 12:43:58 +02:00
parent d6c8dcb8ac
commit 35e02a3d0e
5 changed files with 23 additions and 27 deletions

View File

@@ -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);