On Tue, Jul 13, 2010 at 08:54:31AM +0200, mru wrote: > @@ -126,9 +120,7 @@ DCTContext *av_dct_init(int nbits, enum > { > DCTContext *s = av_malloc(sizeof(*s)); > > - if (s) > - ff_dct_init(s, nbits, inverse); > - else > + if (s && (ff_dct_init(s, nbits, inverse))) Useless ()