[vlc-devel] [PATCH 1/3] stream_ReadLine: don't close iconv handle on error

Rémi Denis-Courmont remi at remlab.net
Tue Sep 29 17:11:52 CEST 2020


Le tiistaina 29. syyskuuta 2020, 15.09.28 EEST Pierre Ynard via vlc-devel a 
écrit :
> This left the text encoding parameters in an inconsistent state.

We should reset it for the corner case that it's interrupted on a lone 
surrogate. Is that what you mean?

But I don't think we should delete it: There's not going to be another BOM at 
the beginning of non-first lines.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list