]> git.sesse.net Git - casparcg/commitdiff
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches...
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Sat, 24 Mar 2012 10:54:50 +0000 (10:54 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Sat, 24 Mar 2012 10:54:50 +0000 (10:54 +0000)
modules/ffmpeg/producer/tbb_avcodec.cpp

index 945e7f2b2ab542e755d26f4eb00799d5ab910ad2..ed5283505fff0da5c877cfa75e4e96340b41fa5c 100644 (file)
@@ -71,12 +71,12 @@ int thread_execute2(AVCodecContext* s, int (*func)(AVCodecContext* c2, void* arg
                jobs[(n*MAX_THREADS) / count].push_back(n);     \r
        \r
        tbb::parallel_for(0, MAX_THREADS, [&](int n)    \r
-    {   
-               BOOST_FOREACH(auto k, jobs[n])
-               {
-                       int r = func(s, arg, k, n);
-                       if(ret) 
-                               ret[k]= r;
+    {   \r
+               BOOST_FOREACH(auto k, jobs[n])\r
+               {\r
+                       int r = func(s, arg, k, n);\r
+                       if(ret) \r
+                               ret[k]= r;\r
                }\r
     });   \r
 \r