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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/73/head
Michael Niedermayer 11 years ago
parent 48f37664a8
commit b7fea3daab
  1. 2
      libavcodec/dvdsubdec.c

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

Loading…
Cancel
Save