mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-07 00:20:09 +02:00
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:
parent
96b069450c
commit
35a9959aca
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user