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 bff29d8..93ae88d 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 },
 };