From 7efe57ba1199bcae0af235eb2f3a91aea1371184 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 21 Mar 2021 18:47:27 -0300 Subject: [PATCH] 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 (cherry picked from commit 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