SubtitleExtractor: mark the limit of the input buffer
Before this change, the SubtitleExtractor did not mark the limit of the input buffer, thus the SubtitleDecoder attempted to decode more bytes. If the subtitle file had a new line at the end, this bug would make the SubtitleDecoder append an line break after the last subtitle. PiperOrigin-RevId: 402523039
Showing
with
2 additions
and
1 deletions
Please
register
or
sign in
to comment