[FFmpeg-cvslog] fftools/ffmpeg_enc: replace abort() with av_assert0(0)
Anton Khirnov
git at videolan.org
Thu Apr 13 16:41:56 EEST 2023
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Mar 31 12:55:53 2023 +0200| [5d4f467cc9202e09fd1197aa9fb0a447db2369f9] | committer: Anton Khirnov
fftools/ffmpeg_enc: replace abort() with av_assert0(0)
This is consistent with the treatment of other unreachable paths.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5d4f467cc9202e09fd1197aa9fb0a447db2369f9
---
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;
}
More information about the ffmpeg-cvslog
mailing list