[FFmpeg-cvslog] h264: Copy h264chroma dsp context to slice thread copies
Martin Storsjö
git at videolan.org
Tue Feb 12 13:25:32 CET 2013
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Feb 11 20:27:50 2013 +0200| [4c51fe48ba6dde059360b7451db7f6bbf2f11db3] | committer: Martin Storsjö
h264: Copy h264chroma dsp context to slice thread copies
This fixes slice threading which seems to have been broken since
79dad2a93.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4c51fe48ba6dde059360b7451db7f6bbf2f11db3
---
libavcodec/h264.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 464c403..542070b 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list