diff mbox series

[FFmpeg-devel,1/3] avcodec/codec: remove outdated comment about AVCodec.encode2()

Message ID 20210305125419.504-1-jamrial@gmail.com
State Accepted
Commit 48e715c3fd4cd3d68f7ef43a04eb3f6beb12e30b
Headers show
Series [FFmpeg-devel,1/3] avcodec/codec: remove outdated comment about AVCodec.encode2() | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

James Almer March 5, 2021, 12:54 p.m. UTC
The packet passed as argument to this function hasn't contained
a user-provided buffer since 93016f5d1d.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavcodec/codec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/codec.h b/libavcodec/codec.h
index 0ccbf0eb19..3d7a1f4c26 100644
--- a/libavcodec/codec.h
+++ b/libavcodec/codec.h
@@ -273,7 +273,7 @@  typedef struct AVCodec {
      * Encode data to an AVPacket.
      *
      * @param      avctx          codec context
-     * @param      avpkt          output AVPacket (may contain a user-provided buffer)
+     * @param      avpkt          output AVPacket
      * @param[in]  frame          AVFrame containing the raw data to be encoded
      * @param[out] got_packet_ptr encoder sets to 0 or 1 to indicate that a
      *                            non-empty packet was returned in avpkt.