summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-10 10:48:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-10 10:49:48 +0100
commitf063a0b33ddbafaa4a31e747bf4b445de1a8e8a8 (patch)
treed9ad2d2bff0b8458a1d079a303c66c313bc6f1ed /ffmpeg.c
parent3170b33e57b2f29c0adf77ece46b324494b81dd1 (diff)
parentdc7536ca3d2dbe47f40cc0fcd0fc2555a84d5f56 (diff)
Merge commit 'dc7536ca3d2dbe47f40cc0fcd0fc2555a84d5f56'
* commit 'dc7536ca3d2dbe47f40cc0fcd0fc2555a84d5f56': avconv: do not abort immediately if initializing hwaccel fails Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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;
}