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@gmail.com>
(cherry picked from commit 34f4f5780037b2e26a42fa83cd25d79b1d6c138a)
This commit is contained in:
James Almer 2021-03-21 18:47:27 -03:00
parent da4d578621
commit 7efe57ba11

View File

@ -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