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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-11-08 00:31:24 +01:00
parent 48f37664a8
commit b7fea3daab
1 changed files with 1 additions and 1 deletions

View File

@ -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"