Commit 5da42be1 authored by Michael Niedermayer's avatar Michael Niedermayer

oops, forgot to commit that change from the warning fixes by (Michael Roitzsch...

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
parent 3a569751
...@@ -171,8 +171,12 @@ static int dvvideo_init(AVCodecContext *avctx) ...@@ -171,8 +171,12 @@ static int dvvideo_init(AVCodecContext *avctx)
free_vlc(&dv_vlc); free_vlc(&dv_vlc);
for (i = 0; i < NB_DV_VLC - 1; i++) { 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; 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) if (dv_vlc_map[dv_vlc_run[i]][dv_vlc_level[i]].size != 0)
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment