History

Merge remote-tracking branch 'ffmpeg-mt/master'

* ffmpeg-mt/master: DUPLICATE mingw32 compilation after 'unbreak avcodec_thread_init' pthread: validate_thread_parameters() ignored slice-threading being intentionally off DUPLICATE Remove unnecessary parameter from ff_thread_init() and fix behavior

Alexander Strange committed 15 years ago

Commit d0df2931 parent c88caa51 file · +1 −1Browse files

Unified · Split

libavcodec/pthread.c+1−1
@@ -877,7 +877,7 @@ static void validate_thread_parameters(AVCodecContext *avctx) · 876 unmodified lines
877877 avctx->active_thread_type = 0;
878878 } else if (frame_threading_supported && (avctx->thread_type & FF_THREAD_FRAME)) {
879879 avctx->active_thread_type = FF_THREAD_FRAME;
880− } else {
880+ } else if (avctx->thread_type & FF_THREAD_SLICE) {
881881 avctx->active_thread_type = FF_THREAD_SLICE;
882882 }
883883 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t