[FFmpeg-devel] [PATCH 3/3] h264: Run VLC init under pthread_once

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Oct 7 18:12:07 CEST 2015


On 10/7/2015 5:05 PM, Matt Oliver wrote:
> Couldnt all the above if/includes be simplified by just using a single
> include libavutil/thread.h (which has all the above checks in it.

So, I included "thread.h", which is from avcodec, and it failed. I think it's
pretty non-obvious I need the thread.h from libavutil.

I based this off of vp8.h, which has this exact block of code.

We can fix this before or after.

- Derek


More information about the ffmpeg-devel mailing list