summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2013-01-24 16:56:07 +0100
committerJanne Grunau <janne-libav@jannau.net>2013-01-24 17:06:52 +0100
commit6bdb841b46d170d58488deaed720729b79223b1d (patch)
tree3f9c64446e340ae966193ba3bb26f33b2c7c35f8 /libavcodec/h264.c
parent8e148b874220f3adb5893534ef1420428b18b70e (diff)
h264: copy h264qpel dsp context to slice thread copies
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 9e9384b430..38a6f5e060 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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;