utvideo: port header reading to bytestream2.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 23 Mar 2012 00:25:22 +0000 (17:25 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 24 Mar 2012 22:15:56 +0000 (15:15 -0700)
commitec0ed97b046d46421db72c4911d2bbe28bbe5741
tree3edeef3d4dae28f84cec5d201ae0178af9569c29
parentd5ed5e7d0c1fa46de348db0de4c82b0f621db3d4
utvideo: port header reading to bytestream2.

Fixes crash during slice size reading if slice_end goes negative.

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