未验证 提交 52e2c601 编写于 作者: R Romain Vimont 提交者: GitHub

Merge pull request #261 from npes87184/dev

prevent closing console right after process error in windows
......@@ -319,5 +319,11 @@ int main(int argc, char *argv[]) {
avformat_network_deinit(); // ignore failure
#if defined (__WINDOWS__) && ! defined (WINDOWS_NOCONSOLE)
if (res != 0) {
fprintf(stderr, "Press any key to continue...\n");
getchar();
}
#endif
return res;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册