summaryrefslogtreecommitdiff
path: root/libavcodec/codec.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-03-05 00:55:21 -0300
committerJames Almer <jamrial@gmail.com>2021-03-07 11:21:57 -0300
commit48e715c3fd4cd3d68f7ef43a04eb3f6beb12e30b (patch)
tree2540129a65fdd9f6007a8a65b67c5733c53eaf9d /libavcodec/codec.h
parent59c0301be9ac3ecb07616d49e946b562746c95a8 (diff)
downloadffmpeg-48e715c3fd4cd3d68f7ef43a04eb3f6beb12e30b.tar.gz
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>
Diffstat (limited to 'libavcodec/codec.h')
-rw-r--r--libavcodec/codec.h2
1 files changed, 1 insertions, 1 deletions
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.