Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lhomme <robux4@ycbcr.xyz>2018-10-19 18:34:41 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-10-19 18:34:41 +0300
commit1c42f8bf81d8fc1ac2d7a89dd00337fd70c5ae80 (patch)
tree8cfb84c01a2bc1daf931420328940750b229146c /src/decode.c
parent793c50481b0fa407f5b0bd6eda8599c6c3249563 (diff)
Add support for external picture buffer allocation
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 5cde9f2..c7a44c1 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -2891,7 +2891,8 @@ int dav1d_submit_frame(Dav1dContext *const c) {
f->frame_hdr.height,
f->seq_hdr.layout, f->seq_hdr.bpc,
c->n_fc > 1 ? &f->frame_thread.td : NULL,
- f->frame_hdr.show_frame)) < 0)
+ f->frame_hdr.show_frame,
+ &c->allocator)) < 0)
{
if (f->frame_hdr.refresh_context)
dav1d_cdf_thread_unref(&f->out_cdf);