changeset 4663:48de02206807 libavcodec

kill 3 more av_mallocz_static()
author michael
date Wed, 14 Mar 2007 01:59:53 +0000
parents 36c100bb7758
children f7c444dc3b04
files utils.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Wed Mar 14 00:19:56 2007 +0000
+++ b/utils.c	Wed Mar 14 01:59:53 2007 +0000
@@ -1189,9 +1189,11 @@
 }
 
 static void init_crcs(void){
+#if LIBAVUTIL_VERSION_INT  < (50<<16)
     av_crc04C11DB7= av_mallocz_static(sizeof(AVCRC) * 257);
     av_crc8005    = av_mallocz_static(sizeof(AVCRC) * 257);
     av_crc07      = av_mallocz_static(sizeof(AVCRC) * 257);
+#endif
     av_crc_init(av_crc04C11DB7, 0, 32, 0x04c11db7, sizeof(AVCRC)*257);
     av_crc_init(av_crc8005    , 0, 16, 0x8005    , sizeof(AVCRC)*257);
     av_crc_init(av_crc07      , 0,  8, 0x07      , sizeof(AVCRC)*257);