h264: copy h264qpel dsp context to slice thread copies
authorJanne Grunau <janne-libav@jannau.net>
Thu, 24 Jan 2013 15:56:07 +0000 (16:56 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Thu, 24 Jan 2013 16:06:52 +0000 (17:06 +0100)
libavcodec/h264.c

index 9e9384b..38a6f5e 100644 (file)
@@ -2556,6 +2556,7 @@ static int h264_slice_header_init(H264Context *h, int reinit)
             memcpy(c, h->s.thread_context[i], sizeof(MpegEncContext));
             memset(&c->s + 1, 0, sizeof(H264Context) - sizeof(MpegEncContext));
             c->h264dsp     = h->h264dsp;
+            c->h264qpel    = h->h264qpel;
             c->sps         = h->sps;
             c->pps         = h->pps;
             c->pixel_shift = h->pixel_shift;