---
libavcodec/pthread.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index 0ef4588..9855b35 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -1046,12 +1046,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;
}
--
1.7.10.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel