diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-09 21:02:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-09 21:02:37 +0200 |
commit | 35a9959acad3bb777d287c936102310154ac2b34 (patch) | |
tree | 843fc9c26e6b7d74d424c56e708e47005af32ffa /libavcodec | |
parent | 96b069450cd037d7e1406859e42f4a1650e31226 (diff) | |
download | ffmpeg-35a9959acad3bb777d287c936102310154ac2b34.tar.gz |
avcodec/snow: make new_picture const
Fixes "assignment discards const qualifier from pointer target type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/snow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snow.h b/libavcodec/snow.h index 0f75419b36..b6a8bf4d7f 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -117,7 +117,7 @@ typedef struct SnowContext{ H264QpelContext h264qpel; MpegvideoEncDSPContext mpvencdsp; SnowDWTContext dwt; - AVFrame *new_picture; + const AVFrame *new_picture; AVFrame *input_picture; ///< new_picture with the internal linesizes AVFrame *current_picture; AVFrame *last_picture[MAX_REF_FRAMES]; |