mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/vvc_thread: don't use an anonymous union
Should fix compilation with old GCC. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
02d600c568
commit
b95ccfcada
|
@ -54,7 +54,7 @@ typedef struct VVCTask {
|
|||
union {
|
||||
struct VVCTask *next; //for executor debug only
|
||||
AVTask task;
|
||||
};
|
||||
} u;
|
||||
|
||||
VVCTaskStage stage;
|
||||
|
||||
|
@ -107,7 +107,7 @@ static void add_task(VVCContext *s, VVCTask *t)
|
|||
|
||||
atomic_fetch_add(&ft->nb_scheduled_tasks, 1);
|
||||
|
||||
av_executor_execute(s->executor, &t->task);
|
||||
av_executor_execute(s->executor, &t->u.task);
|
||||
}
|
||||
|
||||
static void task_init(VVCTask *t, VVCTaskStage stage, VVCFrameContext *fc, const int rx, const int ry)
|
||||
|
|
Loading…
Reference in New Issue