[FFmpeg-devel] [PATCH 11/11] avcodec/internal: Fix outdated comment

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Aug 24 04:40:06 EEST 2022


The legacy API is long gone.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/internal.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 52e7f111c1..61d395e8c9 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -137,7 +137,8 @@ typedef struct AVCodecInternal {
     int draining;
 
     /**
-     * buffers for using new encode/decode API through legacy API
+     * Temporary buffers to hold newly received packets and newly decoded frames
+     * for decoding or newly received frames and newly encoded packets for encoding.
      */
     AVPacket *buffer_pkt;
     AVFrame *buffer_frame;
-- 
2.34.1



More information about the ffmpeg-devel mailing list