Hi, On Sun, Apr 3, 2011 at 12:00 PM, Benjamin Larsson <[email protected]> wrote: > On 04/02/2011 02:24 AM, Alexander Strange wrote: >> From: Reimar Döffinger <[email protected]> >> >> --- >> libavcodec/mpeg12.c | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c >> index 5db24e8..7034a91 100644 >> --- a/libavcodec/mpeg12.c >> +++ b/libavcodec/mpeg12.c >> @@ -2344,7 +2344,7 @@ static int decode_chunks(AVCodecContext *avctx, >> break; >> >> case PICTURE_START_CODE: >> - if (avctx->thread_count > 1 && s->slice_count) { >> + if (HAVE_THREADS && (avctx->active_thread_type&FF_THREAD_SLICE) >> && s->slice_count) { >> int i; >> >> avctx->execute(avctx, slice_decode_thread, > > > Looks ok.
Queued locally. Alexander, do you want me to queue this or fold it into the rest of your upcoming MPEG/H264-mt patch? I don't mind either way. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
