[FFmpeg-devel] [PATCH 2/2] lavc/pngdec: decode textual data (tEXt and zTXt).

Nicolas George nicolas.george at normalesup.org
Sun Oct 28 15:55:46 CET 2012


Le septidi 7 brumaire, an CCXXI, Paul B Mahol a écrit :
> Why this conversion?

http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html#C.Anc-text

"The text is interpreted according to the ISO/IEC 8859-1 (Latin-1) character
set [ISO/IEC-8859-1]."

Since there is no field to specify the encoding of an AVDictionary, only
UTF-8 is reasonable. Thus the conversion.

> APE tags do not have this.

I do not know the APE format. If the encoding of the tags is not specified,
then the format is brain-dead.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121028/262e9b8d/attachment.asc>


More information about the ffmpeg-devel mailing list