On Thu, Feb 23, 2012 at 08:28:35PM +0100, Anton Khirnov wrote:
> Module: libav
> Branch: master
> Commit: 4da6d194e5b00404f4d545adcaa8e206592ae746
> 
> Author:    Anton Khirnov <[email protected]>
> Committer: Anton Khirnov <[email protected]>
> Date:      Thu Feb 23 08:19:13 2012 +0100
> 
> libxvid: switch to encode2().
> 
> --- a/libavcodec/libxvidff.c
> +++ b/libavcodec/libxvidff.c
> @@ -408,17 +409,25 @@ static av_cold int xvid_encode_init(AVCodecContext 
> *avctx)  {
>   * @param data Pointer to AVFrame of unencoded frame
>   * @return Returns 0 on success, -1 on failure
>   */
> -static int xvid_encode_frame(AVCodecContext *avctx,
> -                         unsigned char *frame, int buf_size, void *data) {
> -    int xerr, i;
> +static int xvid_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
> +                             const AVFrame *picture, int *got_packet)

This changes the function signature without adapting the Doxygen
comments.

> @@ -551,16 +569,16 @@ static av_cold int xvid_encode_close(AVCodecContext 
> *avctx) {
>   * @return Returns new length of frame data
>   */
>  int xvid_strip_vol_header(AVCodecContext *avctx,
> -                  unsigned char *frame,
> +                  AVPacket *pkt,
>                    unsigned int header_len,
>                    unsigned int frame_len) {

ditto

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to