mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge commit 'db8e336e5fc18c41cb4e9bab1960349e9800d546'
* commit 'db8e336e5fc18c41cb4e9bab1960349e9800d546': pthread: reindent Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
1a0057dc88
@ -1150,12 +1150,12 @@ int ff_thread_init(AVCodecContext *avctx)
|
||||
w32thread_init();
|
||||
#endif
|
||||
|
||||
validate_thread_parameters(avctx);
|
||||
validate_thread_parameters(avctx);
|
||||
|
||||
if (avctx->active_thread_type&FF_THREAD_SLICE)
|
||||
return thread_init(avctx);
|
||||
else if (avctx->active_thread_type&FF_THREAD_FRAME)
|
||||
return frame_thread_init(avctx);
|
||||
if (avctx->active_thread_type&FF_THREAD_SLICE)
|
||||
return thread_init(avctx);
|
||||
else if (avctx->active_thread_type&FF_THREAD_FRAME)
|
||||
return frame_thread_init(avctx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user