[FFmpeg-cvslog] libx264: use X264_THREADS_AUTO constant instead of 0.

Anton Khirnov git at videolan.org
Thu Sep 1 22:13:33 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Aug 31 19:26:01 2011 +0200| [1440037411507f6737df97b7262649874cee8ac2] | committer: Anton Khirnov

libx264: use X264_THREADS_AUTO constant instead of 0.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1440037411507f6737df97b7262649874cee8ac2
---

 libavcodec/libx264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index bff29d8..93ae88d 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 },
 };
 



More information about the ffmpeg-cvslog mailing list