aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-05-06 17:56:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-05-21 12:02:52 +0200
commit328ba54efa3b0bc3f6841225f2adc355c4954658 (patch)
tree0caed8aa603e6e14044ffbd169050102a608defe
parent5653e0b1fa20d1193042f437639766eab0b79569 (diff)
downloadffmpeg-328ba54efa3b0bc3f6841225f2adc355c4954658.tar.gz
avcodec/4xm: Use av_unreachable() instead of av_assert0(0)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/4xm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 94f4268127..c6b2ce1230 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -337,7 +337,8 @@ static inline void mcdc(uint16_t *dst, const uint16_t *src, int log2w,
}
break;
default:
- av_assert0(0);
+ av_unreachable("log2w starts at 3 and gets only decremented during "
+ "recursive calls to decode_p_block");
}
}