# HG changeset patch # User michael # Date 1233362734 0 # Node ID ebb66d91b0115c528a951a9d363d7b68118c31fd # Parent 450a1c5bab22dd56310cf8801e4dfc9a43d630b6 Fix documentation of the return value of avcodec_encode_video(). ripped out of a patch by Bitbreaker/METALVOTZE X bitbreaker ihlaid de Y diff -r 450a1c5bab22 -r ebb66d91b011 avcodec.h --- 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);