On Sun, Dec 01, 2013 at 05:04:25PM -0500, Justin Ruggles wrote:
> --- /dev/null
> +++ b/libavcodec/libwebpenc.c
> @@ -0,0 +1,309 @@
> +
> +typedef struct {
> +    AVClass *avclass;       // class for AVOptions
> +    int lossless;           // use lossless encoding
> +    float quality;          // lossy quality 0 - 100
> +    int preset;             // configuration preset
> +    WebPConfig config;      // libwebp configuration
> +    int chroma_warning;     // chroma linesize mismatch warning has been 
> printed
> +    int conversion_warning; // pixel format conversion warning has been 
> printed
> +} LibWebPContext;

Let's try to avoid anonymous struct typedeffing.  It has caused trouble in
headers in the past, I think the only way to avoid them creeping back into
headers is to try to form a habit not to use them anywhere.

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

Reply via email to