[FFmpeg-devel] ffplay is missing avcodec_thread_free()
    Janne Grunau 
    janne-ffmpeg
       
    Fri Jul  6 20:58:47 CEST 2007
    
    
  
On Friday 06 July 2007 20:21:59 M?ns Rullg?rd wrote:
> Janne Grunau <janne-ffmpeg at grunau.be> writes:
> > 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.
>
> But does it matter?
Yes, otherwise linking would fail since avcodec_thread_free is only 
defined in the threading implementations.
Janne
    
    
More information about the ffmpeg-devel
mailing list