turn Fatal into Error

This commit is contained in:
Isaac Connor 2017-12-12 12:41:11 -05:00
parent ec99c96587
commit 40e4d909c3
1 changed files with 2 additions and 1 deletions

View File

@ -67,10 +67,11 @@ VideoStore::VideoStore(const char *filename_in, const char *format_in,
if (!oc) { if (!oc) {
avformat_alloc_output_context2(&oc, NULL, format, filename); avformat_alloc_output_context2(&oc, NULL, format, filename);
if (!oc) { if (!oc) {
Fatal( Error(
"Could not create video storage stream %s as no out ctx" "Could not create video storage stream %s as no out ctx"
" could not be assigned based on filename or format %s", " could not be assigned based on filename or format %s",
filename, format); filename, format);
return;
} else { } else {
Debug(4, "Success alocateing out ctx"); Debug(4, "Success alocateing out ctx");
} }