[FFmpeg-devel] ffplay is missing avcodec_thread_free()

Janne Grunau janne-ffmpeg
Fri Jul 6 16:04:36 CEST 2007


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




More information about the ffmpeg-devel mailing list