avcodec/qdrw: check bytes per scanline for 2bpp images
authorPaul B Mahol <onemda@gmail.com>
Mon, 27 Feb 2017 13:15:11 +0000 (14:15 +0100)
committerPaul B Mahol <onemda@gmail.com>
Mon, 27 Feb 2017 13:17:51 +0000 (14:17 +0100)
commit26a7d6a301b9b6c67153c87d42db145cdc0e57cf
tree57dd630e26dccab92d749504808227ce42c44828
parent86ab6b6e08e2982fb5785e0691c0a7e289339ffb
avcodec/qdrw: check bytes per scanline for 2bpp images

One byte less is read in case of small width.
Closes #6194.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/qdrw.c