[FFmpeg-devel] [PATCH 3/3] lavu/fifo: mark all AVFifoBuffer members as deprecated

Anton Khirnov anton at khirnov.net
Sun Jan 29 12:17:35 EET 2023


---
 libavutil/fifo.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/fifo.h b/libavutil/fifo.h
index ed86800da4..2e0c600dd3 100644
--- a/libavutil/fifo.h
+++ b/libavutil/fifo.h
@@ -242,8 +242,11 @@ void av_fifo_freep2(AVFifo **f);
 
 #if FF_API_FIFO_OLD_API
 typedef struct AVFifoBuffer {
+    attribute_deprecated
     uint8_t *buffer;
+    attribute_deprecated
     uint8_t *rptr, *wptr, *end;
+    attribute_deprecated
     uint32_t rndx, wndx;
 } AVFifoBuffer;
 
-- 
2.35.1



More information about the ffmpeg-devel mailing list