[FFmpeg-devel] [PATCH 2/4] lavfi/buffersrc: add add av_buffersrc_close().

Nicolas George george at nsup.org
Wed Jul 30 00:13:38 CEST 2014

Le duodi 12 thermidor, an CCXXII, wm4 a écrit :
> I asked for the reason of the API change. What's the purpose of the API
> change, if the "deprecated" method is supported forever anyway?

What's the purpose of deprecating gets() in favour of fgets() if the
deprecated function is supported forever anyway?

The reason is called "compatibility": old programs will still work, with the
same problems as before. Fortunately, unless gets(), adding a NULL frame
does not open a security risk, it just gives a slightly wrong result.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140730/6c2017be/attachment.asc>

More information about the ffmpeg-devel mailing list