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

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jan 2 02:42:27 CET 2013

Dennis Volodomanov <volodomanov <at> gmail.com> writes:

> >>> 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.
> >
> > Should this be automatically added when pthreads are used?
> > Or are you adding this because you prefer static pthreads?
> Yes, this is for static pthreads. Doesn't link without it 
> and it's not added automatically.

Just to make sure I do not misunderstand:
When you built pthreads, you could choose between static 
and shared?
You decided static, and if you don't add the define to 
the FFmpeg compilation, it fails?
Does the pthread auto-detection also fail without the define?

Thank you, Carl Eugen

More information about the ffmpeg-user mailing list