aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bfin
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-05-28 22:35:56 +0000
committerMåns Rullgård <mans@mansr.com>2009-05-28 22:35:56 +0000
commit08ec1397f66df7de8e4a99e12e35a3005e88d3d5 (patch)
tree71e547d8dcd9916664efb79bd2577ff51ff7e114 /libavcodec/bfin
parent2b7a351eb9553dd526038bf6209bc192e5f8c462 (diff)
downloadffmpeg-08ec1397f66df7de8e4a99e12e35a3005e88d3d5.tar.gz
blackfin: use DCT function pointer in dct_quantize_bfin()
Originally committed as revision 18974 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bfin')
-rw-r--r--libavcodec/bfin/mpegvideo_bfin.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/bfin/mpegvideo_bfin.c b/libavcodec/bfin/mpegvideo_bfin.c
index d1c33a10ac..5c96f8f29d 100644
--- a/libavcodec/bfin/mpegvideo_bfin.c
+++ b/libavcodec/bfin/mpegvideo_bfin.c
@@ -25,10 +25,6 @@
#include "libavcodec/mpegvideo.h"
#include "dsputil_bfin.h"
-
-void ff_bfin_fdct (DCTELEM *block) attribute_l1_text;
-
-
static int dct_quantize_bfin (MpegEncContext *s,
DCTELEM *block, int n,
int qscale, int *overflow)
@@ -41,7 +37,7 @@ static int dct_quantize_bfin (MpegEncContext *s,
int max=0;
PROF("fdct",0);
- ff_bfin_fdct (block);
+ s->dsp.fdct(block);
EPROF();
PROF("denoise",1);