filters/f_swresample: make fudge_pairs const

This commit is contained in:
nanahi
2025-08-03 22:53:18 -04:00
committed by Kacper Michajłow
parent 86e12929aa
commit c82d9317a3

View File

@@ -109,7 +109,7 @@ static int rate_from_speed(int rate, double speed)
return lrint(rate * speed);
}
static struct mp_chmap fudge_pairs[][2] = {
static const struct mp_chmap fudge_pairs[][2] = {
{MP_CHMAP2(BL, BR), MP_CHMAP2(SL, SR)},
{MP_CHMAP2(SL, SR), MP_CHMAP2(BL, BR)},
{MP_CHMAP2(SDL, SDR), MP_CHMAP2(SL, SR)},