Revision e9ccdae0

View differences:

libavcodec/mpeg12.c
2344 2344
            break;
2345 2345

  
2346 2346
        case PICTURE_START_CODE:
2347
            if (avctx->thread_count > 1 && s->slice_count) {
2347
            if (HAVE_THREADS && (avctx->active_thread_type&FF_THREAD_SLICE) && s->slice_count) {
2348 2348
                int i;
2349 2349

  
2350 2350
                avctx->execute(avctx, slice_decode_thread,

Also available in: Unified diff