]> git.sesse.net Git - ffmpeg/commitdiff
libx264: use X264_THREADS_AUTO constant instead of 0.
authorAnton Khirnov <anton@khirnov.net>
Wed, 31 Aug 2011 17:26:01 +0000 (19:26 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 1 Sep 2011 08:12:30 +0000 (10:12 +0200)
libavcodec/libx264.c

index bff29d892c998350bb1e8e8090e10f2f077bc32a..93ae88d852846f2f57c993d266a4333b398f51fe 100644 (file)
@@ -476,7 +476,7 @@ static const AVClass class = {
 
 static const AVCodecDefault x264_defaults[] = {
     { "b",                "0" },
-    { "threads",          "0" },
+    { "threads",          AV_STRINGIFY(X264_THREADS_AUTO) },
     { NULL },
 };