Commit 867fd228 authored by michael's avatar michael

Fix documentation of the return value of avcodec_encode_video().

ripped out of a patch by Bitbreaker/METALVOTZE X bitbreaker ihlaid de Y


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16870 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f65eaf00
...@@ -2858,7 +2858,7 @@ int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, ...@@ -2858,7 +2858,7 @@ int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size,
* @param[in] buf_size the size of the output buffer in bytes * @param[in] buf_size the size of the output buffer in bytes
* @param[in] pict the input picture to encode * @param[in] pict the input picture to encode
* @return On error a negative value is returned, on success zero or the number * @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, int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size,
const AVFrame *pict); const AVFrame *pict);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment