On 29/04/15 17:35, Vittorio Giovara wrote:
> warning: assigning to 'AVFrame *' (aka 'struct AVFrame *') from
>          'const AVFrame *' (aka 'const struct AVFrame *') discards
>          qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
> ---
>  libavcodec/ffv1.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
> index 5c3bdc1..bc433bc 100644
> --- a/libavcodec/ffv1.h
> +++ b/libavcodec/ffv1.h
> @@ -78,7 +78,7 @@ typedef struct FFV1Context {
>      int transparency;
>      int flags;
>      int picture_number;
> -    AVFrame *frame;
> +    const AVFrame *frame;
>      AVFrame *last_picture;
>  
>      AVFrame *cur;
> 

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

Reply via email to