]> git.sesse.net Git - ffmpeg/commitdiff
oops, forgot to commit that change from the warning fixes by (Michael Roitzsch <mroi...
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 May 2004 14:29:25 +0000 (14:29 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 May 2004 14:29:25 +0000 (14:29 +0000)
Originally committed as revision 3145 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dv.c

index c62c964fbc9471d85a006f8f8bd5f63ed732a0dc..8addf8536746ebbf03ff02e06fd2ab527f15d364 100644 (file)
@@ -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;