[FFmpeg-cvslog] libavcodec/dvdsubdec: remove exit() call in debug code

Michael Niedermayer git at videolan.org
Fri Nov 8 00:43:54 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov  8 00:31:24 2013 +0100| [b7fea3daabc70095b6bd8d2ce24e4e0310276172] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b7fea3daabc70095b6bd8d2ce24e4e0310276172
---

 libavcodec/dvdsubdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index 3f8c365..31ce0ac 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"



More information about the ffmpeg-cvslog mailing list