On 13/12/11 15:37, Gaurav Narula wrote:
--- libavcodec/ulti.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 47 insertions(+), 4 deletions(-)diff --git a/libavcodec/ulti.c b/libavcodec/ulti.c index a2802f7..7611ad2 100644 --- a/libavcodec/ulti.c +++ b/libavcodec/ulti.c @@ -223,6 +223,7 @@ static int ulti_decode_frame(AVCodecContext *avctx, int i; int skip; int tmp; + const uint8_t *buf_end = buf + buf_size;
There should be a size greater than 1 that the the decoder expects. Please use this information to reduce the number of checks.
lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
