Revision eb40d7ff

View differences:

libavcodec/ivi_common.c
404 404
                        hi  = get_vlc2(gb, band->blk_vlc.tab->table, IVI_VLC_BITS, 1);
405 405
                        val = IVI_TOSIGNED((hi << 6) | lo); /* merge them and convert into signed val */
406 406
                    } else {
407
                        if (sym >= 256U) {
408
                            av_log(NULL, AV_LOG_ERROR, "Invalid sym encountered: %d.\n", sym);
409
                            return -1;
410
                        }
407 411
                        run = rvmap->runtab[sym];
408 412
                        val = rvmap->valtab[sym];
409 413
                    }

Also available in: Unified diff