1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 7bf38eb000 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>
2022-02-09 17:18:43 +01:00
..
2022-02-07 00:31:23 +01:00
2022-02-07 00:31:23 +01:00
2022-02-07 00:31:23 +01:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2022-02-07 00:31:23 +01:00
2022-01-13 08:28:56 +01:00
2022-01-26 15:30:28 +01:00
2022-02-07 00:31:23 +01:00
2022-02-07 00:31:23 +01:00
2022-02-07 00:31:23 +01:00
2022-01-26 15:30:28 +01:00
2022-01-13 21:00:26 +01:00
2022-02-09 06:52:41 +01:00