We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae63d4b commit 4aa47acCopy full SHA for 4aa47ac
source/output/gop.cpp
@@ -69,7 +69,7 @@ void GOPOutput::setParam(x265_param *p_param)
69
p_param->bRepeatHeaders = false;
70
i_numframe = 0;
71
72
- int len = strlen(filename_prefix) + 20;
+ int len = strlen(dir_prefix) + strlen(filename_prefix) + 20;
73
char opt_filename[len];
74
sprintf(opt_filename, "%s%s.options", dir_prefix, filename_prefix);
75
FILE* opt_file = fopen(opt_filename, "wb");
0 commit comments