[FFmpeg-devel] [PATCH v2 1/8] lavu: improve documentation of some AVFrame functions

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Mar 23 14:47:08 CET 2016


wm4 <nfxjfg <at> googlemail.com> writes:

> + * warning: if frame already has been allocated, calling this function will
> + *     leak memory. In addition, undefined behavior can occur in certain
> + *     cases.

If this is correct, I believe the following is a slightly 
better wording:
if frame already has been allocated undefined behaviour including 
memory leaks can occur.

Carl Eugen



More information about the ffmpeg-devel mailing list