[FFmpeg-devel] [PATCH v2 1/8] lavu: improve documentation of some AVFrame functions
wm4
nfxjfg at googlemail.com
Fri Apr 1 12:59:02 CEST 2016
On Wed, 23 Mar 2016 13:47:08 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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.
Pushed, with the suggested wording approximately applied.
More information about the ffmpeg-devel
mailing list