From 0d346e418d2a2292fcd76e5ce9aa26ba1fbd13b0 Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 May 2014 10:21:07 +0200 Subject: [PATCH] Always reinit VP8TransformWHT instead of hard-coding Change-Id: I2012749ed29bd166d2a96555372f0d9baa784385 --- src/dsp/dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsp/dec.c b/src/dsp/dec.c index 5aff5ffb..927f83a9 100644 --- a/src/dsp/dec.c +++ b/src/dsp/dec.c @@ -153,7 +153,7 @@ static void TransformWHT(const int16_t* in, int16_t* out) { } } -void (*VP8TransformWHT)(const int16_t* in, int16_t* out) = TransformWHT; +void (*VP8TransformWHT)(const int16_t* in, int16_t* out); //------------------------------------------------------------------------------ // Intra predictions @@ -696,6 +696,7 @@ extern void VP8DspInitMIPS32(void); void VP8DspInit(void) { VP8InitClipTables(); + VP8TransformWHT = TransformWHT; VP8Transform = TransformTwo; VP8TransformUV = TransformUV; VP8TransformDC = TransformDC;