[FFmpeg-devel] [PATCH] pthread: Fix ff_thread_get_formatissues when called outside frame decode.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 9 06:45:00 CET 2015


On 08.03.2015, at 22:56, Rainer Hochecker <fernetmenta at online.de> wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
> 
> I have tested this with Kodi. Works with sw decoding. With DXVA it crashes,
> looks like heap corruption or the like.
> setting thread_safe_callbacks = 1 cures the issue but I get some green
> frames at start of playback. 

Any reason to believe this patch causes it?
Because I can't see how it would.
Maybe it's just a bug with DXVA and multithreading in the HEVC code?
Can you provide some more information like a stacktrace, possibly using a tool like DrMemory?


More information about the ffmpeg-devel mailing list