Mercurial > libavcodec.hg
diff dvdsubdec.c @ 4728:5db8e9e8f71d libavcodec
move eob_reached logic into ff_lzw_decode_tail() which simplifies the code, avoids some checks in the innermost loop and also gets rid of the controversal break while hopefully retaining the last byte in a valid bytestream, invalid bytestreams still can have very significant overread
author | michael |
---|---|
date | Sun, 25 Mar 2007 15:43:46 +0000 |
parents | fe3179006730 |
children | 4d185d65488c |