Always reinit VP8TransformWHT instead of hard-coding

Change-Id: I2012749ed29bd166d2a96555372f0d9baa784385
This commit is contained in:
skal 2014-05-28 10:21:07 +02:00
parent 399b916d27
commit 0d346e418d

View File

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