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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Mar 11 12:52:07 CET 2015

On 09.03.2015, at 15:54, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> Of course avcodec shouldn't crash when you use it, but a patch to
> disallow this combination would never be accepted by yourself and some
> others that "like" this cheap (albeit wrong) method for fallback.

I forgot to reply: of course I would accept a patch that returns PATCHWELCOME for HEVC if the alternative is that the code crashes and explodes into the users' face...
Or just not advertise hwaccel if multi-threading is enabled.
Breaking code that currently works like H.264 to disallow this I would indeed mind though.

> So the only solution is to add the extra magic that makes it not
> crash, and someone should produce a patch for that if their setup can
> reproduce it.

Though that as preferred by me indeed.

More information about the ffmpeg-devel mailing list