[FFmpeg-cvslog] pthread: reindent

Anton Khirnov git at videolan.org
Fri May 17 12:01:38 CEST 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat May 11 17:32:52 2013 +0200| [db8e336e5fc18c41cb4e9bab1960349e9800d546] | committer: Anton Khirnov

pthread: reindent

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db8e336e5fc18c41cb4e9bab1960349e9800d546
---

 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;
 }



More information about the ffmpeg-cvslog mailing list