diff options
Diffstat (limited to 'vhook/imlib2.c')
-rw-r--r-- | vhook/imlib2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vhook/imlib2.c b/vhook/imlib2.c index 868182de5e..4e6ffb67c0 100644 --- a/vhook/imlib2.c +++ b/vhook/imlib2.c @@ -350,7 +350,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 @@ -436,7 +436,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 // sws_scale parameters are context, 4 first source, then 2 destination |