Mercurial > libavcodec.hg
diff mimic.c @ 8042:e70975d5ff80 libavcodec
uses FF_ARRAY_ELEMS() where appropriate
author | aurel |
---|---|
date | Tue, 21 Oct 2008 21:40:24 +0000 |
parents | e943e1409077 |
children | 800444234375 |
line wrap: on
line diff
--- a/mimic.c Mon Oct 20 16:05:29 2008 +0000 +++ b/mimic.c Tue Oct 21 21:40:24 2008 +0000 @@ -110,7 +110,7 @@ ctx->prev_index = 0; ctx->cur_index = 15; - if(init_vlc(&ctx->vlc, 11, sizeof(huffbits)/sizeof(huffbits[0]), + if(init_vlc(&ctx->vlc, 11, FF_ARRAY_ELEMS(huffbits), huffbits, 1, 1, huffcodes, 4, 4, 0)) { av_log(avctx, AV_LOG_ERROR, "error initializing vlc table\n"); return -1;