summaryrefslogtreecommitdiff
path: root/libavcodec/dvdsubdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-08 00:31:24 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-08 00:42:50 +0100
commitb7fea3daabc70095b6bd8d2ce24e4e0310276172 (patch)
tree3803b4b537ccfe9b52c48c489367c3a7653407b7 /libavcodec/dvdsubdec.c
parent48f37664a8b5bc43fc3dad5784f32ea2267d38a9 (diff)
downloadffmpeg-b7fea3daabc70095b6bd8d2ce24e4e0310276172.tar.gz
libavcodec/dvdsubdec: remove exit() call in debug code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvdsubdec.c')
-rw-r--r--libavcodec/dvdsubdec.c2
1 files changed, 1 insertions, 1 deletions
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"