[FFmpeg-devel] libavcodec/pthread.c:138: error: no previous prototype for 'avcodec_thread_execute2'

Måns Rullgård mans
Mon Mar 8 15:08:21 CET 2010


Andreas ?man <andreas at lonelycoder.com> writes:

> Georgi Chorbadzhiyski wrote:
>> Around 03/08/10 12:43, Benoit Fouet scribbled:
>>> On Mon, 08 Mar 2010 12:28:37 +0200 Georgi Chorbadzhiyski wrote:
>>>> gf at gf:~/ffmpeg$ make
>>>> CC      libavcodec/pthread.o
>>>> libavcodec/pthread.c:138: error: no previous prototype for 'avcodec_thread_execute2'
>>>> make: *** [libavcodec/pthread.o] Error 1
>>>>
>>>> This fixes it but I don't think this is the correct fix. It
>>>> should not give error here.
>>> missing prototypes now results in an error.
>> 
>> I've missed this. This is a good change.
>
> Fixed, and for w32thread.c as well.

Thanks.  I forgot to test it with threads enabled.  Updating my build
test script now.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list