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

Git pushed a commit to branch master
in repository ffmpeg.

commit 1674ff14e9364154c75d2f6d47cd0fc17751884b
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Wed Jun 25 07:33:13 2025 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Fri Jan 2 18:30:43 2026 +0100

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

diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c
index f4b4b4ac84..2421513adf 100644
--- a/libavcodec/wmv2dec.c
+++ b/libavcodec/wmv2dec.c
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/avassert.h"
 #include "libavutil/mem_internal.h"
 
 #include "avcodec.h"
@@ -77,7 +78,7 @@ static void wmv2_add_block(WMV2DecContext *w, int16_t 
blocks1[][64],
             h->c.bdsp.clear_block(w->abt_block2[n]);
             break;
         default:
-            av_log(h->c.avctx, AV_LOG_ERROR, "internal error in WMV2 abt\n");
+            av_unreachable("abt_type_table is read via decode012");
         }
     }
 }

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

Reply via email to