Browse Source

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]
tags/n2.7
Vittorio Giovara 10 years ago
parent
commit
6503cbf842
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ffv1.h

+ 1
- 1
libavcodec/ffv1.h View File

@@ -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…
Cancel
Save