From b7fea3daabc70095b6bd8d2ce24e4e0310276172 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 8 Nov 2013 00:31:24 +0100 Subject: [PATCH] libavcodec/dvdsubdec: remove exit() call in debug code Signed-off-by: Michael Niedermayer --- libavcodec/dvdsubdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index 3f8c3650ba..31ce0accc6 100644 --- a/libavcodec/dvdsubdec.c +++ b/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"