avcodec/flacdsp: add fall-through annotations

This commit is contained in:
Marvin Scholz
2026-02-18 00:22:11 +01:00
parent d4d5ac3bb2
commit 4a805cfa53
+30 -30
View File
@@ -55,29 +55,29 @@ static av_always_inline void FUNC(lpc_encode_unrolled)(int32_t *res,
sum_type p0 = 0, p1 = 0;
if (big) {
switch (order) {
case 32: LPC1(32)
case 31: LPC1(31)
case 30: LPC1(30)
case 29: LPC1(29)
case 28: LPC1(28)
case 27: LPC1(27)
case 26: LPC1(26)
case 25: LPC1(25)
case 24: LPC1(24)
case 23: LPC1(23)
case 22: LPC1(22)
case 21: LPC1(21)
case 20: LPC1(20)
case 19: LPC1(19)
case 18: LPC1(18)
case 17: LPC1(17)
case 16: LPC1(16)
case 15: LPC1(15)
case 14: LPC1(14)
case 13: LPC1(13)
case 12: LPC1(12)
case 11: LPC1(11)
case 10: LPC1(10)
case 32: LPC1(32); av_fallthrough;
case 31: LPC1(31); av_fallthrough;
case 30: LPC1(30); av_fallthrough;
case 29: LPC1(29); av_fallthrough;
case 28: LPC1(28); av_fallthrough;
case 27: LPC1(27); av_fallthrough;
case 26: LPC1(26); av_fallthrough;
case 25: LPC1(25); av_fallthrough;
case 24: LPC1(24); av_fallthrough;
case 23: LPC1(23); av_fallthrough;
case 22: LPC1(22); av_fallthrough;
case 21: LPC1(21); av_fallthrough;
case 20: LPC1(20); av_fallthrough;
case 19: LPC1(19); av_fallthrough;
case 18: LPC1(18); av_fallthrough;
case 17: LPC1(17); av_fallthrough;
case 16: LPC1(16); av_fallthrough;
case 15: LPC1(15); av_fallthrough;
case 14: LPC1(14); av_fallthrough;
case 13: LPC1(13); av_fallthrough;
case 12: LPC1(12); av_fallthrough;
case 11: LPC1(11); av_fallthrough;
case 10: LPC1(10); av_fallthrough;
case 9: LPC1( 9)
LPC1( 8)
LPC1( 7)
@@ -90,13 +90,13 @@ static av_always_inline void FUNC(lpc_encode_unrolled)(int32_t *res,
}
} else {
switch (order) {
case 8: LPC1( 8)
case 7: LPC1( 7)
case 6: LPC1( 6)
case 5: LPC1( 5)
case 4: LPC1( 4)
case 3: LPC1( 3)
case 2: LPC1( 2)
case 8: LPC1( 8); av_fallthrough;
case 7: LPC1( 7); av_fallthrough;
case 6: LPC1( 6); av_fallthrough;
case 5: LPC1( 5); av_fallthrough;
case 4: LPC1( 4); av_fallthrough;
case 3: LPC1( 3); av_fallthrough;
case 2: LPC1( 2); av_fallthrough;
case 1: LPC1( 1)
}
}