You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-05-16 08:38:24 +02:00
libx264: Increase x264 opts character limit to 4096
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 282477bf45)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
054db63120
commit
0f6e244bb0
@@ -698,8 +698,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
|||||||
if(x4->x264opts){
|
if(x4->x264opts){
|
||||||
const char *p= x4->x264opts;
|
const char *p= x4->x264opts;
|
||||||
while(p){
|
while(p){
|
||||||
char param[256]={0}, val[256]={0};
|
char param[4096]={0}, val[4096]={0};
|
||||||
if(sscanf(p, "%255[^:=]=%255[^:]", param, val) == 1){
|
if(sscanf(p, "%4095[^:=]=%4095[^:]", param, val) == 1){
|
||||||
OPT_STR(param, "1");
|
OPT_STR(param, "1");
|
||||||
}else
|
}else
|
||||||
OPT_STR(param, val);
|
OPT_STR(param, val);
|
||||||
|
|||||||
Reference in New Issue
Block a user