提交 b7fea3da 编写于 作者: M Michael Niedermayer

libavcodec/dvdsubdec: remove exit() call in debug code

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 48f37664
......@@ -471,7 +471,7 @@ static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h,
f = fopen(filename, "w");
if (!f) {
perror(filename);
exit(1);
return;
}
fprintf(f, "P6\n"
"%d %d\n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册