Mercurial > libavcodec.hg
changeset 861:243cc33da3eb libavcodec
* init for inv_zigzag_direct16 moved to init block
author | kabi |
---|---|
date | Tue, 12 Nov 2002 10:05:21 +0000 |
parents | a5f228481000 |
children | 058194d7ade6 |
files | dsputil.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dsputil.c Tue Nov 12 10:01:27 2002 +0000 +++ b/dsputil.c Tue Nov 12 10:05:21 2002 +0000 @@ -1357,7 +1357,10 @@ for(i=0;i<512;i++) { squareTbl[i] = (i - 256) * (i - 256); } - init_done = 1; + + for(i=0; i<64; i++) inv_zigzag_direct16[ff_zigzag_direct[i]]= i+1; + + init_done = 1; } c->get_pixels = get_pixels_c; @@ -1453,7 +1456,6 @@ 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) */