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)
committerMartin Storsjö <martin@martin.st>
Sun, 29 Sep 2013 17:01:50 +0000 (20:01 +0300)
commit30db94dc399f6e4ef8905049d9b740556f0fce47
treeef1c828c3ace481733670e05163f5e6615bce975
parent9fb0de86b49e9fb0709a8ad1e1875e35da841887
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>
libavcodec/xan.c