[FFmpeg-cvslog] h264: fix cur_chroma_format_idc with slice multithreading.
Michael Niedermayer
git at videolan.org
Thu Nov 17 05:58:57 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 17 05:42:18 2011 +0100| [3e971fc6b532f1adae98b2f55836eba9f86ac220] | committer: Michael Niedermayer
h264: fix cur_chroma_format_idc with slice multithreading.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e971fc6b532f1adae98b2f55836eba9f86ac220
---
libavcodec/h264.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index e3d9449..c389f96 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2846,6 +2846,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
c->sps = h->sps;
c->pps = h->pps;
c->pixel_shift = h->pixel_shift;
+ c->cur_chroma_format_idc = h->cur_chroma_format_idc;
init_scan_tables(c);
clone_tables(c, h, i);
}
More information about the ffmpeg-cvslog
mailing list