xxan: convert to bytestream2 API.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 9 Mar 2012 00:32:47 +0000 (16:32 -0800)
committerReinhard Tartler <siretart@tauware.de>
Wed, 14 Mar 2012 19:47:19 +0000 (20:47 +0100)
commita43f4bd601e905e3f04c47293a642ac541d727f3
tree0e5e2924c88fba8a7b40510b293aa7d08750ebda
parent8f881885c2325ce83f114437b97c2e0d6001cd7d
xxan: convert to bytestream2 API.

Protects against overreads.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 55188278169c3a1838334d7aa47a1f7a40741690)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/xxan.c