Commit 71a1e24e authored by Steve Lhomme's avatar Steve Lhomme Committed by Ronald S. Bultje

remove redundant picture initialization

These values are already set in picture_alloc_with_edges().
parent 8f8560f8
Pipeline #3915 passed with stages
in 5 minutes and 15 seconds
......@@ -193,12 +193,6 @@ int dav1d_picture_alloc_copy(Dav1dPicture *const dst, const int w,
src->frame_hdr, src->frame_hdr_ref,
src->p.bpc, &src->m, &pic_ctx->allocator,
0, NULL);
if (!res) {
dst->p = src->p;
dst->p.w = w;
return res;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment