From 37d3e0667abd01124d783f3ca10a4aef05746a2a Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Tue, 21 Oct 2008 21:40:24 +0000 Subject: uses FF_ARRAY_ELEMS() where appropriate Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mimic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mimic.c') diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c index 527c7bcd00..b740275fc4 100644 --- a/libavcodec/mimic.c +++ b/libavcodec/mimic.c @@ -110,7 +110,7 @@ static av_cold int mimic_decode_init(AVCodecContext *avctx) 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; -- cgit v1.2.3