Commit d5bd7c47 authored by kabi's avatar kabi

* init for inv_zigzag_direct16 moved to init block


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1204 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bda454ef
......@@ -1357,6 +1357,9 @@ void dsputil_init(DSPContext* c, unsigned mask)
for(i=0;i<512;i++) {
squareTbl[i] = (i - 256) * (i - 256);
}
for(i=0; i<64; i++) inv_zigzag_direct16[ff_zigzag_direct[i]]= i+1;
init_done = 1;
}
......@@ -1453,7 +1456,6 @@ void dsputil_init(DSPContext* c, unsigned mask)
dsputil_init_mmi(c, mask);
#endif
for(i=0; i<64; i++) inv_zigzag_direct16[ff_zigzag_direct[i]]= i+1;
}
/* remove any non bit exact operation (testing purpose) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment