diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-04-01 17:23:15 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-01 17:23:15 +0000 |
commit | ca345e442d121963c7e75bba7a3e70d9f29db5aa (patch) | |
tree | efdc87784634f956a7e48febf6961a048b55293d /vhook/fish.c | |
parent | f321635a6eb6a826db7213f5c545a01b9c87104c (diff) | |
download | ffmpeg-ca345e442d121963c7e75bba7a3e70d9f29db5aa.tar.gz |
Replace forbidden exit() by return() VĂctor Paesa, wzrlpy arsystel com.
Originally committed as revision 8592 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook/fish.c')
-rw-r--r-- | vhook/fish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vhook/fish.c b/vhook/fish.c index 2a30d2847d..1571cf9b95 100644 --- a/vhook/fish.c +++ b/vhook/fish.c @@ -354,7 +354,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 // sws_scale parameters are context, 4 first source, then 2 destination |