From 5da42be1921604a97e6180f242c78c484a179314 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 21 May 2004 14:29:25 +0000 Subject: oops, forgot to commit that change from the warning fixes by (Michael Roitzsch ) Originally committed as revision 3145 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dv.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libavcodec/dv.c') diff --git a/libavcodec/dv.c b/libavcodec/dv.c index c62c964fbc..8addf85367 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -171,8 +171,12 @@ static int dvvideo_init(AVCodecContext *avctx) free_vlc(&dv_vlc); for (i = 0; i < NB_DV_VLC - 1; i++) { - if (dv_vlc_run[i] >= DV_VLC_MAP_RUN_SIZE || dv_vlc_level[i] >= DV_VLC_MAP_LEV_SIZE) + if (dv_vlc_run[i] >= DV_VLC_MAP_RUN_SIZE) continue; +#ifdef DV_CODEC_TINY_TARGET + if (dv_vlc_level[i] >= DV_VLC_MAP_LEV_SIZE) + continue; +#endif if (dv_vlc_map[dv_vlc_run[i]][dv_vlc_level[i]].size != 0) continue; -- cgit v1.2.3