diff options
| author | Sasi Inguva <[email protected]> | 2016-07-21 18:52:41 -0700 |
|---|---|---|
| committer | Michael Niedermayer <[email protected]> | 2016-08-01 17:29:14 +0200 |
| commit | 7c01fa962e7fb08754f191a3840af56654fa0841 (patch) | |
| tree | d4ec9a5605e1106490815db5b94ef985ddb69e21 | |
| parent | e4eab67a0aed7c8962f7be2f482399048062e8a4 (diff) | |
libx264: Increase x264 opts character limit to 4096
Signed-off-by: Sasi Inguva <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 282477bf4534439ecb06f14d46446a4f1ab82284)
Signed-off-by: Michael Niedermayer <[email protected]>
| -rw-r--r-- | libavcodec/libx264.c | 4 |
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); |
