From 35a9959acad3bb777d287c936102310154ac2b34 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 9 Sep 2014 21:02:15 +0200 Subject: [PATCH] avcodec/snow: make new_picture const Fixes "assignment discards const qualifier from pointer target type" Signed-off-by: Michael Niedermayer --- libavcodec/snow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];