diff options
Diffstat (limited to 'vhook/ppm.c')
-rw-r--r-- | vhook/ppm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vhook/ppm.c b/vhook/ppm.c index 4b3a17f9f2..9f618e55b3 100644 --- a/vhook/ppm.c +++ b/vhook/ppm.c @@ -266,7 +266,7 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width, if (ci->toRGB_convert_ctx == NULL) { av_log(NULL, AV_LOG_ERROR, "Cannot initialize the toRGB conversion context\n"); - exit(1); + return; } // img_convert parameters are 2 first destination, then 4 source @@ -335,7 +335,7 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width, if (ci->fromRGB_convert_ctx == NULL) { av_log(NULL, AV_LOG_ERROR, "Cannot initialize the fromRGB conversion context\n"); - exit(1); + return; } // img_convert parameters are 2 first destination, then 4 source |