pcx: use the bytestream2 API for reading from input
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Aug 2016 08:18:39 +0000 (10:18 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 18 Aug 2016 15:06:46 +0000 (17:06 +0200)
commit09b23786b3986502ee88d4907356979127169bdd
treefdd20fb9fcdf2be8431ce37e2fd36f8dee222f16
parent221402c1c88b9d12130c6f5834029b535ee0e0c5
pcx: use the bytestream2 API for reading from input

Fixes possible invalid reads.

CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/pcx.c