aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-04-29 16:35:43 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-05-01 14:52:24 +0100
commit6503cbf842a026faec517eb980551089168c7d8a (patch)
tree471cf97137d24778c6d390599bede447226d6638 /libavcodec/ffv1.h
parent06f4b1e37a08f3fd269ecbfeb0181129e5bfc86e (diff)
downloadffmpeg-6503cbf842a026faec517eb980551089168c7d8a.tar.gz
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]
Diffstat (limited to 'libavcodec/ffv1.h')
-rw-r--r--libavcodec/ffv1.h2
1 files changed, 1 insertions, 1 deletions
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;