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

Dennis Volodomanov volodomanov at gmail.com
Thu Jan 3 13:04:19 CET 2013


Carl,


Carl Eugen Hoyos wrote:
>> However, if I change pthread_create() to phread_create(NULL, NULL, NULL,
>> NULL) then it compiles to an .o file without warnings.
>
> But does it also compile to an executable?
> (And what does nm say for the object file you
> already created?)

Ah, sorry, no - it doesn't. Fails with the same:

./test.o:test.c:(.text+0x2e): undefined reference to `_imp__pthread_create'
collect2: error: ld returned 1 exit status

nm fails with:

nm: test.o: File format not recognized

I guess because I'm cross-compiling for mingw32 and it's not listed here:

nm: supported targets: elf32-i386 a.out-i386-linux pei-i386 elf32-little 
elf32-big elf64-x86-64 elf32-x86-64 pei-x86-64 elf64-l1om elf64-k1om 
elf64-little elf64-big plugin srec symbolsrec verilog tekhex binary ihex 
trad-core

Thanks!

    Dennis



More information about the ffmpeg-user mailing list