diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-18 03:13:23 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-25 21:38:31 +0300 |
commit | c371907ffea1cafa9ee5867df4127a53b836d68f (patch) | |
tree | 4aea5ce670ccc2c1c5a35e029a63535c7b5f4612 /src/thread_task.c | |
parent | e071d257cae01c07d2204478dcc489200df66750 (diff) |
Make frame_hdr a pointer
Diffstat (limited to 'src/thread_task.c')
-rw-r--r-- | src/thread_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_task.c b/src/thread_task.c index 3c7efdf..13951f8 100644 --- a/src/thread_task.c +++ b/src/thread_task.c @@ -79,7 +79,7 @@ void *dav1d_tile_task(void *const data) { const int task_idx = fttd->num_tasks - fttd->tasks_left--; pthread_mutex_unlock(&fttd->lock); - if (f->frame_thread.pass == 1 || f->n_tc >= f->frame_hdr.tiling.cols) { + if (f->frame_thread.pass == 1 || f->n_tc >= f->frame_hdr->tiling.cols) { // we can (or in fact, if >, we need to) do full tile decoding. // loopfilter happens in the main thread Dav1dTileState *const ts = t->ts = &f->ts[task_idx]; |