Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
8699:450a1c5bab22 | 8700:ebb66d91b011 |
---|---|
2856 * @param avctx the codec context | 2856 * @param avctx the codec context |
2857 * @param[out] buf the output buffer for the bitstream of encoded frame | 2857 * @param[out] buf the output buffer for the bitstream of encoded frame |
2858 * @param[in] buf_size the size of the output buffer in bytes | 2858 * @param[in] buf_size the size of the output buffer in bytes |
2859 * @param[in] pict the input picture to encode | 2859 * @param[in] pict the input picture to encode |
2860 * @return On error a negative value is returned, on success zero or the number | 2860 * @return On error a negative value is returned, on success zero or the number |
2861 * of bytes used from the input buffer. | 2861 * of bytes used from the output buffer. |
2862 */ | 2862 */ |
2863 int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, | 2863 int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, |
2864 const AVFrame *pict); | 2864 const AVFrame *pict); |
2865 int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, | 2865 int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, |
2866 const AVSubtitle *sub); | 2866 const AVSubtitle *sub); |