On Tue, Nov 15, 2011 at 01:08:20PM +0000, Måns Rullgård wrote:
> Janne Grunau <[email protected]> writes:
> 
> > @@ -2852,6 +2851,12 @@ check_struct dxva2api.h DXVA_PictureParameters 
> > wDecodedPictureIndex
> >  disabled  zlib || check_lib   zlib.h      zlibVersion -lz   || disable  
> > zlib
> >  disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable 
> > bzlib
> >  
> > +if ! disabled w32threads && ! enabled pthreads ; then
>                                                  ^
> Drop that space ---------------------------------+
> 
> > +    if check_func _beginthreadex; then
> > +        enable w32threads
> > +    fi
> 
> check_func _beginthreadex && enable w32threads

both changed locally

> > +fi
> > +
> >  # check for some common methods of building with pthread support
> >  # do this before the optional library checks as some of them require 
> > pthreads
> >  if ! disabled pthreads && ! enabled w32threads; then
> 
> So the idea is to use w32threads if available, otherwise look for pthreads?

yes, only reasoning is the problem vlc had with pthreads on win32

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to