diff options
author | Steven Walters <kemuri9@gmail.com> | 2011-10-09 23:38:35 +0400 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-10-16 23:45:16 +0400 |
commit | 27237d524e56210992b18486924894bb4f3fdbb8 (patch) | |
tree | 02477ac46ef62e3a9293a25b365698ed628e4038 /libavcodec/mpegvideo.c | |
parent | b44522981ce1f5da1d4ec62950b0933fc18ac223 (diff) |
w32threads: support for frame multithreading
Replace our incomplete w32threads implementation with x264's pthreads
w32threads wrapper.
Relicensed to LGPL with kind permission by Pegasys Inc.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index b8ac2ceb3d..cbc7d99818 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -2119,7 +2119,7 @@ void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64], /* decoding or more than one mb_type (MC was already done otherwise) */ if(!s->encoding){ - if(HAVE_PTHREADS && s->avctx->active_thread_type&FF_THREAD_FRAME) { + if(HAVE_THREADS && s->avctx->active_thread_type&FF_THREAD_FRAME) { if (s->mv_dir & MV_DIR_FORWARD) { ff_thread_await_progress((AVFrame*)s->last_picture_ptr, MPV_lowest_referenced_row(s, 0), 0); } |