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
* @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);