[FFmpeg-cvslog] h264: copy h264qpel dsp context to slice thread copies

Janne Grunau git at videolan.org
Fri Jan 25 13:51:13 CET 2013


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Thu Jan 24 16:56:07 2013 +0100| [6bdb841b46d170d58488deaed720729b79223b1d] | committer: Janne Grunau

h264: copy h264qpel dsp context to slice thread copies

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6bdb841b46d170d58488deaed720729b79223b1d
---

 libavcodec/h264.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 9e9384b..38a6f5e 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;



More information about the ffmpeg-cvslog mailing list