aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-09 21:02:15 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-09 21:02:37 +0200
commit35a9959acad3bb777d287c936102310154ac2b34 (patch)
tree843fc9c26e6b7d74d424c56e708e47005af32ffa /libavcodec
parent96b069450cd037d7e1406859e42f4a1650e31226 (diff)
downloadffmpeg-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.h2
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];