This with the last revert results in a table with additional entries This reverts commit b23eaf968e375f2d38865d90a788221caead3324. --- libavcodec/vlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vlc.c b/libavcodec/vlc.c index 79544006677..ceabeba5408 100644 --- a/libavcodec/vlc.c +++ b/libavcodec/vlc.c @@ -365,7 +365,7 @@ static void add_level(VLC_MULTI_ELEM *table, const int is16bit, uint32_t code; sym = buf[i].symbol; - if (l >= curlimit) + if (l > curlimit) return; code = curcode + (buf[i].code >> curlen); newlimit = curlimit - l; -- 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".