This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 5de95f7731f0dc8592a13ee5b346e42572956d19 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Wed Feb 25 20:13:50 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Sun Mar 1 11:56:57 2026 +0100 avcodec/huffyuvenc: Mark unreachable code as such Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/huffyuvenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/huffyuvenc.c b/libavcodec/huffyuvenc.c index 5941b53bd7..a048197bfe 100644 --- a/libavcodec/huffyuvenc.c +++ b/libavcodec/huffyuvenc.c @@ -337,8 +337,7 @@ static av_cold int encode_init(AVCodecContext *avctx) s->bitstream_bpp = 24; break; default: - av_log(avctx, AV_LOG_ERROR, "format not supported\n"); - return AVERROR(EINVAL); + av_unreachable("Already checked via CODEC_PIXFMTS"); } avctx->bits_per_coded_sample = s->bitstream_bpp; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
