summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-21 14:29:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-21 14:29:25 +0000
commit5da42be1921604a97e6180f242c78c484a179314 (patch)
tree5766a997f11f28441c5b7a387aa4e38b1210aecd /libavcodec/dv.c
parent3a56975147283d574e9496f8b0872a95298d1eb2 (diff)
oops, forgot to commit that change from the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3145 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c6
1 files changed, 5 insertions, 1 deletions
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;