Appease linter.
This commit is contained in:
parent
fbff74c1eb
commit
71c0e30655
|
@ -101,7 +101,7 @@ static std::string GetDumpPath(const std::string& format)
|
|||
return g_Config.sDumpPath;
|
||||
|
||||
std::string s_dump_path = File::GetUserPath(D_DUMPFRAMES_IDX) + "framedump" +
|
||||
std::to_string(s_file_index) + "." + format;
|
||||
std::to_string(s_file_index) + "." + format;
|
||||
|
||||
// Ask to delete file
|
||||
if (File::Exists(s_dump_path))
|
||||
|
@ -137,7 +137,8 @@ bool AVIDump::CreateVideoFile()
|
|||
return false;
|
||||
}
|
||||
|
||||
if(avformat_alloc_output_context2(&s_format_context, output_format, nullptr, s_dump_path.c_str()) < 0)
|
||||
if (avformat_alloc_output_context2(&s_format_context, output_format, nullptr,
|
||||
s_dump_path.c_str()) < 0)
|
||||
{
|
||||
ERROR_LOG(VIDEO, "Could not allocate output context");
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue