avcodec/rscc: check input buffer size for deflate mode
authorJames Almer <jamrial@gmail.com>
Wed, 11 May 2016 01:07:19 +0000 (22:07 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 11 May 2016 01:07:19 +0000 (22:07 -0300)
commitb2244fa0a624f7e38893d58265e9c039bed2e4de
tree200db6adfaefc38b7d82f532299c1d59c27a9c9d
parent6c44696b3d504eb87d60915919074da530cd379f
avcodec/rscc: check input buffer size for deflate mode

Fixes overreads.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/rscc.c