Browse Source

avcodec/codec: remove outdated comment about AVCodec.encode2()

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>
tags/n4.4
James Almer 4 years ago
parent
commit
48e715c3fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/codec.h

+ 1
- 1
libavcodec/codec.h View 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.


Loading…
Cancel
Save