Commit 35a9959a authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/snow: make new_picture const

Fixes "assignment discards const qualifier from pointer target type"
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 96b06945
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment