From 0c851e464229f50c440968c4c94b672e23f691af Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 14 Jun 2012 21:11:05 +0200 Subject: threads: make get_logical_cpus() available outside pthread.c Signed-off-by: Michael Niedermayer --- libavcodec/internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/internal.h') diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 8f00695dc8..198483a2f5 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -167,4 +167,6 @@ static av_always_inline int64_t ff_samples_to_time_base(AVCodecContext *avctx, int ff_thread_can_start_frame(AVCodecContext *avctx); +int ff_get_logical_cpus(AVCodecContext *avctx); + #endif /* AVCODEC_INTERNAL_H */ -- cgit v1.2.1