Unified · Split
| @@ -95,6 +95,7 @@ static void *attribute_align_arg thread_worker(void *v) · 94 unmodified lines | ||
| 95 | 95 | } |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | +av_cold | |
| 98 | 99 | int avpriv_slicethread_create(AVSliceThread **pctx, void *priv, |
| 99 | 100 | void (*worker_func)(void *priv, int jobnr, int threadnr, int nb_jobs, int nb_threads), |
| 100 | 101 | void (*main_func)(void *priv), |
| @@ -222,7 +223,7 @@ void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_mai · 121 unmodified lines | ||
| 222 | 223 | } |
| 223 | 224 | } |
| 224 | 225 | |
| 225 | −void avpriv_slicethread_free(AVSliceThread **pctx) | |
| 226 | +av_cold void avpriv_slicethread_free(AVSliceThread **pctx) | |
| 226 | 227 | { |
| 227 | 228 | AVSliceThread *ctx = *pctx; |
| 228 | 229 | int nb_workers, i; |