renderer: fix unsigned integer overflow in overlay indices
For complex subtitles, it's quite common to have more than u16 indices. We were wrapping around and overwriting already added indices, resulting in all sorts of weird overlay behavior.
For complex subtitles, it's quite common to have more than u16 indices. We were wrapping around and overwriting already added indices, resulting in all sorts of weird overlay behavior.
VideoLAN code repository instance