]> git.sesse.net Git - ffmpeg/commitdiff
avcodec: remove reference to AVPacket's destruct field
authorJames Almer <jamrial@gmail.com>
Mon, 15 Jul 2019 14:18:23 +0000 (11:18 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 15 Jul 2019 14:20:03 +0000 (11:20 -0300)
The field was removed years ago.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/avcodec.h

index 586bbbca4e9f5759da873b95ec9fa1132d840cda..2528bd89ab9da914525b23a1f4b4bbff5a379c2b 100644 (file)
@@ -4418,7 +4418,7 @@ int av_grow_packet(AVPacket *pkt, int grow_by);
  * Initialize a reference-counted packet from av_malloc()ed data.
  *
  * @param pkt packet to be initialized. This function will set the data, size,
- *        buf and destruct fields, all others are left untouched.
+ *        and buf fields, all others are left untouched.
  * @param data Data allocated by av_malloc() to be used as packet data. If this
  *        function returns successfully, the data is owned by the underlying AVBuffer.
  *        The caller may not access the data through other means.