X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fframe.h;h=2d6299b20b517efb8a91cd2bbd0b0d7258b4b1ed;hb=77fb7177afd69eacbf9034917ab85138a40d2d93;hp=89f41fc7befe631e86edc6c716d2805961905967;hpb=d496d52d029a566d61e71ffa7f23131e872b78b6;p=ffmpeg diff --git a/libavutil/frame.h b/libavutil/frame.h index 89f41fc7bef..2d6299b20b5 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -634,8 +634,9 @@ void av_frame_move_ref(AVFrame *dst, AVFrame *src); * necessary, allocate and fill AVFrame.extended_data and AVFrame.extended_buf. * For planar formats, one buffer will be allocated for each plane. * - * @warning: if frame already has been allocated, undefined behaviour, including - * memory leaks, can occur. + * @warning: if frame already has been allocated, calling this function will + * leak memory. In addition, undefined behavior can occur in certain + * cases. * * @param frame frame in which to store the new buffers. * @param align required buffer size alignment