[FFmpeg-devel] [PATCH] avutil: fix data race in av_get_cpu_flags().
wtc at google.com
Wed Nov 23 21:40:25 EET 2016
On Tue, Nov 22, 2016 at 3:30 PM, wm4 <nfxjfg at googlemail.com> wrote:
> On Tue, 22 Nov 2016 23:57:15 +0100
> Michael Niedermayer <michael at niedermayer.cc> wrote:
>> For example the progress code in the frame threading.
> Which was recently fixed in Libav AFAIR...
You're right. libav/libavcodec/pthread_frame.c has code similar to my
ffmpeg patch http://ffmpeg.org/pipermail/ffmpeg-devel/2016-March/190454.html,
and much more.
Note: libav/libavcodec/pthread_frame.c uses unnecessary (too strong)
memory barriers in ff_thread_report_progress(). We can fix those when
the code is merged to ffmpeg.
More information about the ffmpeg-devel