From 2ad1516a6c7180d4f9343c0f07120eaec5130d6e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 29 Sep 2002 22:44:22 +0000 Subject: idct permutation cleanup, idct can be selected per context now fixing some threadunsafe code Originally committed as revision 980 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/msmpeg4data.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libavcodec/msmpeg4data.h') diff --git a/libavcodec/msmpeg4data.h b/libavcodec/msmpeg4data.h index cab8f04dd0..93a72c54c1 100644 --- a/libavcodec/msmpeg4data.h +++ b/libavcodec/msmpeg4data.h @@ -1819,7 +1819,7 @@ static UINT8 old_ff_c_dc_scale_table[32]={ #define WMV1_SCANTABLE_COUNT 4 -static UINT8 wmv1_scantable00[64]= { +static const UINT8 wmv1_scantable00[64]= { 0x00, 0x08, 0x01, 0x02, 0x09, 0x10, 0x18, 0x11, 0x0A, 0x03, 0x04, 0x0B, 0x12, 0x19, 0x20, 0x28, 0x30, 0x38, 0x29, 0x21, 0x1A, 0x13, 0x0C, 0x05, @@ -1829,7 +1829,7 @@ static UINT8 wmv1_scantable00[64]= { 0x2C, 0x25, 0x1E, 0x17, 0x1F, 0x26, 0x2D, 0x35, 0x3D, 0x3E, 0x36, 0x2E, 0x27, 0x2F, 0x37, 0x3F, }; -static UINT8 wmv1_scantable01[64]= { +static const UINT8 wmv1_scantable01[64]= { 0x00, 0x08, 0x01, 0x02, 0x09, 0x10, 0x18, 0x11, 0x0A, 0x03, 0x04, 0x0B, 0x12, 0x19, 0x20, 0x28, 0x21, 0x30, 0x1A, 0x13, 0x0C, 0x05, 0x06, 0x0D, @@ -1839,7 +1839,7 @@ static UINT8 wmv1_scantable01[64]= { 0x1E, 0x17, 0x1F, 0x26, 0x2D, 0x34, 0x3C, 0x35, 0x3D, 0x2E, 0x27, 0x2F, 0x36, 0x3E, 0x37, 0x3F, }; -static UINT8 wmv1_scantable02[64]= { +static const UINT8 wmv1_scantable02[64]= { 0x00, 0x01, 0x08, 0x02, 0x03, 0x09, 0x10, 0x18, 0x11, 0x0A, 0x04, 0x05, 0x0B, 0x12, 0x19, 0x20, 0x28, 0x30, 0x21, 0x1A, 0x13, 0x0C, 0x06, 0x07, @@ -1849,7 +1849,7 @@ static UINT8 wmv1_scantable02[64]= { 0x17, 0x1F, 0x26, 0x2D, 0x34, 0x3B, 0x3C, 0x35, 0x2E, 0x27, 0x2F, 0x36, 0x3D, 0x3E, 0x37, 0x3F, }; -static UINT8 wmv1_scantable03[64]= { +static const UINT8 wmv1_scantable03[64]= { 0x00, 0x08, 0x10, 0x01, 0x18, 0x20, 0x28, 0x09, 0x02, 0x03, 0x0A, 0x11, 0x19, 0x30, 0x38, 0x29, 0x21, 0x1A, 0x12, 0x0B, 0x04, 0x05, 0x0C, 0x13, @@ -1860,7 +1860,7 @@ static UINT8 wmv1_scantable03[64]= { 0x2E, 0x27, 0x2F, 0x36, 0x3D, 0x3E, 0x37, 0x3F, }; -static UINT8 *wmv1_scantable[WMV1_SCANTABLE_COUNT+1]={ +static const UINT8 *wmv1_scantable[WMV1_SCANTABLE_COUNT+1]={ wmv1_scantable00, wmv1_scantable01, wmv1_scantable02, -- cgit v1.2.3