From 5d4f467cc9202e09fd1197aa9fb0a447db2369f9 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 31 Mar 2023 12:55:53 +0200 Subject: [PATCH] fftools/ffmpeg_enc: replace abort() with av_assert0(0) This is consistent with the treatment of other unreachable paths. --- fftools/ffmpeg_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_enc.c b/fftools/ffmpeg_enc.c index 7f6bd76f10..2aaef806f6 100644 --- a/fftools/ffmpeg_enc.c +++ b/fftools/ffmpeg_enc.c @@ -306,7 +306,7 @@ int enc_open(OutputStream *ost, AVFrame *frame) break; default: - abort(); + av_assert0(0); break; }