[FFmpeg-devel] [PATCH] Update lix264.c for x264 API change (X264_BUILD 79)

Michael Niedermayer michaelni
Sat Nov 21 23:21:49 CET 2009


On Sat, Nov 21, 2009 at 11:28:57AM -0800, Jason Garrett-Glaser wrote:
> OK, updated patch attached.
[...
> Index: libavcodec/avcodec.h
> ===================================================================
> --- libavcodec/avcodec.h	(revision 20562)
> +++ libavcodec/avcodec.h	(working copy)
> @@ -2553,6 +2553,13 @@
>       * - decoding: Set by libavcodec, user can override.
>       */
>      int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count);
> +
> +    /**
> +     * explicit weighted prediction analysis method
> +     * - encoding: Set by user.
> +     * - decoding: unused
> +     */
> +    int weighted_p_pred;
>  } AVCodecContext;

This documentation is insufficient to use this field.
It tells the reader what the field does but not which value does
what

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091121/e3f69446/attachment.pgp>



More information about the ffmpeg-devel mailing list