diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 8614ec5cd3fed217d48c72d648d99c887cbca4d6..bff29d892c998350bb1e8e8090e10f2f077bc32a 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -476,6 +476,7 @@ static const AVClass class = {
 
 static const AVCodecDefault x264_defaults[] = {
     { "b",                "0" },
+    { "threads",          "0" },
     { NULL },
 };