diff --git a/ffmpeg.c b/ffmpeg.c index 6604ff057b..0f67b113d3 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2360,7 +2360,7 @@ static enum AVPixelFormat get_format(AVCodecContext *s, const enum AVPixelFormat "%s hwaccel requested for input stream #%d:%d, " "but cannot be initialized.\n", hwaccel->name, ist->file_index, ist->st->index); - exit_program(1); + return AV_PIX_FMT_NONE; } continue; }