]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/codec: remove outdated comment about AVCodec.encode2()
authorJames Almer <jamrial@gmail.com>
Fri, 5 Mar 2021 03:55:21 +0000 (00:55 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 7 Mar 2021 14:21:57 +0000 (11:21 -0300)
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

index 0ccbf0eb19f59a2382e44eac0768be8be2d8cf06..3d7a1f4c2606cae53cd5bdfc425191b87453219d 100644 (file)
@@ -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.