Revision 01418506 libavcodec/mpeg12.c

View differences:

libavcodec/mpeg12.c
2309 2309
                if(avctx->thread_count > 1){
2310 2310
                    int i;
2311 2311

  
2312
                    avctx->execute(avctx, slice_decode_thread,  (void**)&(s2->thread_context[0]), NULL, s->slice_count, sizeof(void*));
2312
                    avctx->execute(avctx, slice_decode_thread,  &s2->thread_context[0], NULL, s->slice_count, sizeof(void*));
2313 2313
                    for(i=0; i<s->slice_count; i++)
2314 2314
                        s2->error_count += s2->thread_context[i]->error_count;
2315 2315
                }

Also available in: Unified diff