turn Fatal into Error
This commit is contained in:
parent
ec99c96587
commit
40e4d909c3
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue