Commit 8948e5af authored by Ronald S. Bultje's avatar Ronald S. Bultje

Add missing .data suffix so we don't overwrite in memset()

parent 10f6ed1b
......@@ -965,7 +965,7 @@ static int parse_frame_hdr(Dav1dContext *const c, GetBits *const gb,
fgd->clip_to_restricted_range = dav1d_get_bits(gb, 1);
}
} else {
memset(&hdr->film_grain.data, 0, sizeof(hdr->film_grain));
memset(&hdr->film_grain.data, 0, sizeof(hdr->film_grain.data));
}
#if DEBUG_FRAME_HDR
printf("HDR: post-filmgrain: off=%ld\n",
......
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