Mercurial > libavcodec.hg
diff avcodec.h @ 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 | 5690a6211e8c |
children | e9d9d946f213 |
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);