On Friday 06 July 2007 15:49:29 Benoit Fouet wrote: > Janne Grunau wrote: > > + if (ENABLE_THREADS && avctx->thread_opaque) > > + avcodec_thread_free(avctx); > > i don't think ENABLE_THREADS is useful It is. gcc optimized the check out if threading is not enabled. Janne