2858
2858
* @param[in] buf_size the size of the output buffer in bytes
2859
2859
* @param[in] pict the input picture to encode
2860
2860
* @return On error a negative value is returned, on success zero or the number
2863
2863
int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size,