[FFmpeg-cvslog] avformat: remove FF_API_INIT_PACKET from AVStream.attached_pic

James Almer git at videolan.org
Mon Mar 22 00:05:49 EET 2021


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Mar 21 18:47:27 2021 -0300| [34f4f5780037b2e26a42fa83cd25d79b1d6c138a] | committer: James Almer

avformat: remove FF_API_INIT_PACKET from AVStream.attached_pic

This field needs to be replaced altogether, not just its type changed.
This will be done in a separate change.

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

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

 libavformat/avformat.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 822aa4c631..765bc3b6f5 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -954,11 +954,7 @@ typedef struct AVStream {
      * decoding: set by libavformat, must not be modified by the caller.
      * encoding: unused
      */
-#if FF_API_INIT_PACKET
     AVPacket attached_pic;
-#else
-    AVPacket *attached_pic;
-#endif
 
     /**
      * An array of side data that applies to the whole stream (i.e. the



More information about the ffmpeg-cvslog mailing list