]> git.sesse.net Git - ffmpeg/commitdiff
avformat: remove FF_API_INIT_PACKET from AVStream.attached_pic
authorJames Almer <jamrial@gmail.com>
Sun, 21 Mar 2021 21:47:27 +0000 (18:47 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 21 Mar 2021 21:47:27 +0000 (18:47 -0300)
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>
libavformat/avformat.h

index 822aa4c6314f7e3c96499d7871f6622387d763a5..765bc3b6f5c89893bb176235ec699f131a0d2469 100644 (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