[SCM] libav/experimental: Fix documentation of the return value of avcodec_encode_video(). ripped out of a patch by Bitbreaker/METALVOTZE X bitbreaker ihlaid de Y

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:36:25 UTC 2013


The following commit has been merged in the experimental branch:
commit 99b3812265a718a64c0eb6ac0dc2f6ae0afb06e5
Author: Bitbreaker/METALVOTZE X <bitbreaker at ihlaid.de>
Date:   Sat Jan 31 00:45:34 2009 +0000

    Fix documentation of the return value of avcodec_encode_video().
    ripped out of a patch by Bitbreaker/METALVOTZE X bitbreaker ihlaid de Y
    
    Originally committed as revision 16870 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 6aa41b5..e9e69ac 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list