diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-14 21:11:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-23 01:38:47 +0200 |
commit | 0c851e464229f50c440968c4c94b672e23f691af (patch) | |
tree | 7c75408781f2aa31e2e842f0e9e7a566deab2567 /libavcodec/internal.h | |
parent | 094c5e6c55238416b273711ff176dea4cfd3ce5b (diff) | |
download | ffmpeg-0c851e464229f50c440968c4c94b672e23f691af.tar.gz |
threads: make get_logical_cpus() available outside pthread.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |