]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Fix documentation of the return value of avcodec_encode_video().
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 31 Jan 2009 00:45:34 +0000 (00:45 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 31 Jan 2009 00:45:34 +0000 (00:45 +0000)
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

libavcodec/avcodec.h

index 6aa41b5538f2aa9de0e193f675fc4b711a68fe0d..e9e69ac72441c4405a657f7ac7de297142d6e00a 100644 (file)
@@ -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] 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);