From 6503cbf842a026faec517eb980551089168c7d8a Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 29 Apr 2015 16:35:43 +0100 Subject: ffv1enc: Add const attribute to input frame 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(-) (limited to 'libavcodec/ffv1.h') diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h index 5c3bdc1dbf..bc433bceb5 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; -- cgit v1.2.3