This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 77d7891052942f7a622635c0729bb23d62dfa4c3
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Mon Feb 9 01:37:21 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Thu Feb 12 10:34:19 2026 +0100

    avcodec/adpcmenc: Mark unreachable code as such
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/adpcmenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
index 96a053351d..232496b281 100644
--- a/libavcodec/adpcmenc.c
+++ b/libavcodec/adpcmenc.c
@@ -210,7 +210,7 @@ static av_cold int adpcm_encode_init(AVCodecContext *avctx)
         avctx->block_align = s->block_size;
         ) /* End of CASE */
     default:
-        return AVERROR(EINVAL);
+        av_unreachable("there is a case for every codec using 
adpcm_encode_init()");
     }
 
     return 0;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to