On 24/11/11 14:37, Måns Rullgård wrote:
Why would this function be called with negative lengths?

it is used in

libavcodec/cscd.c: if (av_lzo1x_decode(c->decomp_buf, &outlen, &buf[2], &inlen)) libavcodec/nuv.c: if (av_lzo1x_decode(c->decomp_buf, &outlen, buf, &inlen)) libavformat/matroskadec.c: result = av_lzo1x_decode(pkt_data, &olen, data, &isize);

Shall we guess which of those feeds it something strange?

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

Reply via email to