[FFmpeg-user] avformat_find_stream_info broken recently with multiple threads?

Dennis Volodomanov volodomanov at gmail.com
Wed Jan 2 01:19:03 CET 2013


Carl,

Carl Eugen Hoyos wrote:
> Dennis Volodomanov<volodomanov<at>  gmail.com>  writes:
>
>> ./configure --arch=x86 --target-os=mingw32
>> --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config
>> --enable-zlib --enable-bzlib --disable-w32threads --disable-programs
>> --extra-cflags=-DPTW32_STATIC_LIB --disable-stripping
>
> (--enable-zlib, --enable-bzlib and --disable-w32threads
> look unneeded.)
Yes, perhaps the two zlibs can go, but they're historically there :) The 
w32threads is needed so that pthreads are used.

> Does this really produce dll's?
> (It's been some time since I last built on mingw,
> so default behaviour may have changed, although I
> would at least ask if this wouldn't be a bug.)
Yes, it does - I've been using this for a while now. It's a modified 
version of zeranoe's scripts.
> Is --extra-cflags=-DPTW32_STATIC_LIB needed?
> What it is good for? Is there a bug report missing?
> (Or is there a bug report?)
This is to use the pthreads library I mentioned earlier. FWIW, I tested 
with w32threads and the same problem occurs. It all works fine with 
December 3rd build though.

Thanks!

    Dennis


More information about the ffmpeg-user mailing list