Commit 4c51fe48 authored by Martin Storsjö's avatar Martin Storsjö

h264: Copy h264chroma dsp context to slice thread copies

This fixes slice threading which seems to have been broken since
79dad2a9.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent d192ac3e
......@@ -2569,6 +2569,7 @@ static int h264_slice_header_init(H264Context *h, int reinit)
memset(&c->s + 1, 0, sizeof(H264Context) - sizeof(MpegEncContext));
c->h264dsp = h->h264dsp;
c->h264qpel = h->h264qpel;
c->h264chroma = h->h264chroma;
c->sps = h->sps;
c->pps = h->pps;
c->pixel_shift = h->pixel_shift;
......
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