[ROCm/rocdecode commit: e7dbd65315]
This commit is contained in:
Hui Liu
2024-01-23 11:23:30 -08:00
zatwierdzone przez GitHub
rodzic fdcbc7ed25
commit 439eca4c3d
@@ -90,8 +90,10 @@ rocDecDestroyVideoParser(RocdecVideoParser parser_handle) {
}
catch(const std::exception& e) {
roc_parser_handle->CaptureError(e.what());
delete roc_parser_handle;
ERR(e.what())
return ROCDEC_RUNTIME_ERROR;
}
delete roc_parser_handle;
return ret;
}