ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Tue Sep 9 21:02:15 2014 +0200| [35a9959acad3bb777d287c936102310154ac2b34] | committer: Michael Niedermayer
avcodec/snow: make new_picture const Fixes "assignment discards const qualifier from pointer target type" Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=35a9959acad3bb777d287c936102310154ac2b34 --- libavcodec/snow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/snow.h b/libavcodec/snow.h index 0f75419..b6a8bf4 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]; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
