xan: Use bytestream2 to limit reading to within the buffer
authorMartin Storsjö <martin@martin.st>
Sat, 28 Sep 2013 21:53:58 +0000 (00:53 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 7 Jan 2014 08:43:57 +0000 (09:43 +0100)
commit993977032a0adb47eb70e7fef6ce0d5370027e83
treea54e9ccea32ccb4070731bcee85e85c1d6877742
parent5a40e4c64d909006b401419f9ab9cc96ce0b7337
xan: Use bytestream2 to limit reading to within the buffer

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 30db94dc399f6e4ef8905049d9b740556f0fce47)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 145de32896b37a508f11bcf11dfcc94487301716)
libavcodec/xan.c