mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
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]
This commit is contained in:
parent
06f4b1e37a
commit
6503cbf842
@ -78,7 +78,7 @@ typedef struct FFV1Context {
|
||||
int transparency;
|
||||
int flags;
|
||||
int picture_number;
|
||||
AVFrame *frame;
|
||||
const AVFrame *frame;
|
||||
AVFrame *last_picture;
|
||||
|
||||
AVFrame *cur;
|
||||
|
Loading…
Reference in New Issue
Block a user