On 04/11/2012 09:34 AM, Martin Storsjö wrote: > This makes the behaviour consistent between debug and release mode. > --- > libavutil/mem.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavutil/mem.c b/libavutil/mem.c > index bf1a542..43fe3f6 100644 > --- a/libavutil/mem.c > +++ b/libavutil/mem.c > @@ -68,8 +68,6 @@ void *av_malloc(size_t size) > long diff; > #endif > > - assert(size); > - > /* let's disallow possible ambiguous cases */ > if (size > (INT_MAX-32) || !size) > return NULL;
Fine for me, please commit. lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel