more const stuff, fixed a stupid bug in sb_decoder_ctl