Browse Source

H264: Fix slice threads

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
488efb33a7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264.c

+ 1
- 0
libavcodec/h264.c View File

@@ -3216,6 +3216,7 @@ static void execute_decode_slices(H264Context *h, int context_count){
hx = h->thread_context[i]; hx = h->thread_context[i];
hx->s.error_recognition = avctx->error_recognition; hx->s.error_recognition = avctx->error_recognition;
hx->s.error_count = 0; hx->s.error_count = 0;
hx->x264_build= h->x264_build;
} }


avctx->execute(avctx, (void *)decode_slice, avctx->execute(avctx, (void *)decode_slice,


Loading…
Cancel
Save