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

Paul B Mahol onemda at gmail.com
Mon Oct 29 00:59:14 CET 2012

On 10/28/12, Nicolas George <nicolas.george at normalesup.org> wrote:
> Le septidi 7 brumaire, an CCXXI, Paul B Mahol a ecrit :
>> I do not see anywhere that 80 char limit to keyword is enforced.
> It is not. Do you think it should? I usually try to adhere to Postel's
> motto: be conservative in what you send and liberal in what you accept.
> Since it is the decoder, I believe it is best to accept malformed files
> with
> long keywords. It I were tweaking the encoder, I would enforce the
> limitation (possibly depending on the "strict" setting).

It should be fine as long as you do not read more than chunk size.

More information about the ffmpeg-devel mailing list