[FFmpeg-cvslog] avcodec: remove reference to AVPacket's destruct field

James Almer git at videolan.org
Mon Jul 15 17:20:39 EEST 2019


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Jul 15 11:18:23 2019 -0300| [7cb4f8c962bdd0e08881f8ce15f7bdd2d546ba44] | committer: James Almer

avcodec: remove reference to AVPacket's destruct field

The field was removed years ago.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7cb4f8c962bdd0e08881f8ce15f7bdd2d546ba44
---

 libavcodec/avcodec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 586bbbca4e..2528bd89ab 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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.



More information about the ffmpeg-cvslog mailing list