diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-08 00:31:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-08 00:42:50 +0100 |
commit | b7fea3daabc70095b6bd8d2ce24e4e0310276172 (patch) | |
tree | 3803b4b537ccfe9b52c48c489367c3a7653407b7 | |
parent | 48f37664a8b5bc43fc3dad5784f32ea2267d38a9 (diff) | |
download | ffmpeg-b7fea3daabc70095b6bd8d2ce24e4e0310276172.tar.gz |
libavcodec/dvdsubdec: remove exit() call in debug code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/dvdsubdec.c | 2 |
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" |