avcodec/tta: Don't try to read more than MIN_CACHE_BITS bits
authorJames Almer <jamrial@gmail.com>
Fri, 7 Apr 2017 15:48:31 +0000 (12:48 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 7 Apr 2017 15:52:17 +0000 (12:52 -0300)
commit7c1566fec39492815eda0dc1fdfd18f8bf7ca635
tree8680bf8b76414b0daf621b7d9cf08d8249f3e5da
parent08117a40157464f8a9dcc2df393fa5fe299c1e98
avcodec/tta: Don't try to read more than MIN_CACHE_BITS bits

This fixes assertion failures introduced in 4fbb56acbe.

Reviewed-by: michaelni
Reviewed-by: durandal_1707
libavcodec/tta.c