Revision dbedf2aa ffmpeg.c

View differences:

ffmpeg.c
449 449
        else if (st->codec->codec_type == CODEC_TYPE_VIDEO && video_stream_copy)
450 450
            st->stream_copy = 1;
451 451

  
452
        if(!st->codec->thread_count)
453
            st->codec->thread_count = 1;
454
        if(st->codec->thread_count>1)
455
            avcodec_thread_init(st->codec, st->codec->thread_count);
456

  
452 457
        if(st->codec->flags & CODEC_FLAG_BITEXACT)
453 458
            nopts = 1;
454 459
    }

Also available in: Unified diff