changeset 8700:ebb66d91b011 libavcodec

Fix documentation of the return value of avcodec_encode_video(). ripped out of a patch by Bitbreaker/METALVOTZE X bitbreaker ihlaid de Y
author michael
date Sat, 31 Jan 2009 00:45:34 +0000
parents 450a1c5bab22
children bb7f9053df83
files avcodec.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Fri Jan 30 23:50:13 2009 +0000
+++ b/avcodec.h	Sat Jan 31 00:45:34 2009 +0000
@@ -2858,7 +2858,7 @@
  * @param[in] buf_size the size of the output buffer in bytes
  * @param[in] pict the input picture to encode
  * @return On error a negative value is returned, on success zero or the number
- * of bytes used from the input buffer.
+ * of bytes used from the output buffer.
  */
 int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size,
                          const AVFrame *pict);