Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSasi Inguva <isasi-at-google.com@ffmpeg.org>2016-07-22 04:52:41 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-22 17:37:44 +0300
commit282477bf4534439ecb06f14d46446a4f1ab82284 (patch)
tree4d2eeb29c5d2e53a8b44841467d8194d5daa9392 /libavcodec
parent41ad6d193adee37bc2e805d8a03e94ddc883fb08 (diff)
libx264: Increase x264 opts character limit to 4096
Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libx264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index c8f2380d8e..b730c91ef2 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -777,8 +777,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
if(x4->x264opts){
const char *p= x4->x264opts;
while(p){
- char param[256]={0}, val[256]={0};
- if(sscanf(p, "%255[^:=]=%255[^:]", param, val) == 1){
+ char param[4096]={0}, val[4096]={0};
+ if(sscanf(p, "%4095[^:=]=%4095[^:]", param, val) == 1){
OPT_STR(param, "1");
}else
OPT_STR(param, val);