h264: fix cur_chroma_format_idc with slice multithreading.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-17 05:42:18 +01:00
parent 1d23e5246c
commit 3e971fc6b5

View File

@ -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);
}