avcodec/snow: make new_picture const

Fixes "assignment discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-09-09 21:02:15 +02:00
parent 96b069450c
commit 35a9959aca
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ typedef struct SnowContext{
H264QpelContext h264qpel; H264QpelContext h264qpel;
MpegvideoEncDSPContext mpvencdsp; MpegvideoEncDSPContext mpvencdsp;
SnowDWTContext dwt; SnowDWTContext dwt;
AVFrame *new_picture; const AVFrame *new_picture;
AVFrame *input_picture; ///< new_picture with the internal linesizes AVFrame *input_picture; ///< new_picture with the internal linesizes
AVFrame *current_picture; AVFrame *current_picture;
AVFrame *last_picture[MAX_REF_FRAMES]; AVFrame *last_picture[MAX_REF_FRAMES];