use av_clip_int16() where it makes sense