diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-06 13:28:01 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-09 17:18:43 +0100 |
commit | 7bf38eb0004bea2613cf4a9a00847755d27f5240 (patch) | |
tree | ea8ea9f5517e73fdea4daf6b8de57fa1abe72f0e /libavcodec/bsf.h | |
parent | ce43e1c581b4ed539ab366cc3df458779e8a44b8 (diff) | |
download | ffmpeg-7bf38eb0004bea2613cf4a9a00847755d27f5240.tar.gz |
avcodec/pthread_frame: Don't prematurily presume frame-threading
Several of our decoders support both frame- as well as slice-threading;
in case of the latter avctx->internal->thread_ctx points to
a SliceThreadContext, not to a frame-thread PerThreadContext.
So only treat avctx->internal->thread_ctx as the latter after
having checked that frame-threading is active.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/bsf.h')
0 files changed, 0 insertions, 0 deletions