summaryrefslogtreecommitdiff
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-31 19:26:01 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-01 10:12:30 +0200
commit1440037411507f6737df97b7262649874cee8ac2 (patch)
tree45ce4e5c9bf09652b3f766b1be97307e75200657 /libavcodec/libx264.c
parent5d06f15235c2fa1b6ed2c5af3bc0e3750df4291c (diff)
libx264: use X264_THREADS_AUTO constant instead of 0.
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index bff29d892c..93ae88d852 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -476,7 +476,7 @@ static const AVClass class = {
static const AVCodecDefault x264_defaults[] = {
{ "b", "0" },
- { "threads", "0" },
+ { "threads", AV_STRINGIFY(X264_THREADS_AUTO) },
{ NULL },
};