When ff_thread_get_format is called from the main thread, e.g.
during codec init it will access the thread_ctx as a PerThreadContext
even though it is a FrameThreadContext.
Catch this case and add asserts to protect against similar issues
in other places.
In addition, when ff_thread_get_format is c
On 26.02.2015, at 23:46, Hendrik Leppkes wrote:
> On Thu, Feb 26, 2015 at 11:21 PM, Reimar Döffinger
> wrote:
>> When ff_thread_get_format is called from the main thread, e.g.
>> during codec init it will access the thread_ctx as a PerThreadContext
>> even though it is a FrameThreadContext.
>
>
On Thu, Feb 26, 2015 at 11:21 PM, Reimar Döffinger
wrote:
> When ff_thread_get_format is called from the main thread, e.g.
> during codec init it will access the thread_ctx as a PerThreadContext
> even though it is a FrameThreadContext.
Where is this a problem exactly? I don't see a single codec
When ff_thread_get_format is called from the main thread, e.g.
during codec init it will access the thread_ctx as a PerThreadContext
even though it is a FrameThreadContext.
Catch this case and add asserts to protect against similar issues
in other places.
In addition, when ff_thread_get_format is c