[FFmpeg-cvslog] avformat: remove FF_API_INIT_PACKET from AVStream.attached_pic
James Almer
git at videolan.org
Mon Mar 22 00:08:29 EET 2021
ffmpeg | branch: release/4.4 | James Almer <jamrial at gmail.com> | Sun Mar 21 18:47:27 2021 -0300| [7efe57ba1199bcae0af235eb2f3a91aea1371184] | 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>
(cherry picked from commit 34f4f5780037b2e26a42fa83cd25d79b1d6c138a)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7efe57ba1199bcae0af235eb2f3a91aea1371184
---
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