[FFmpeg-devel] [PATCH v2] lavfi/pthread: Avoid crashes/odd behavior caused by spurious wakeups

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Oct 22 14:21:23 CEST 2013


On 10/22/2013 12:41 PM, Michael Niedermayer wrote:
> this still does not build
> 
> ThreadContext doesnt have a job_count nor is there a local thread_count
> 
> libavfilter/pthread.c: In function ‘slice_thread_park_workers’:
> libavfilter/pthread.c:119:30: error: ‘thread_count’ undeclared (first use in this function)
> libavfilter/pthread.c:119:30: note: each undeclared identifier is reported only once for each function it appears in
> libavfilter/pthread.c:119:46: error: ‘ThreadContext’ has no member named ‘job_count’

Uh.... I sent the old patch by mistake... this isn't actually the v2.
Forgot to format-patch again. One sec.

- Derek


More information about the ffmpeg-devel mailing list