[FFmpeg-cvslog] avcodec/4xm: Make src of decode_p_block() const

Michael Niedermayer git at videolan.org
Mon Sep 22 18:16:34 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Sep 22 18:09:28 2014 +0200| [544380aaf0da3c01877c887bde1fa740cacb4a9d] | committer: Michael Niedermayer

avcodec/4xm: Make src of decode_p_block() const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=544380aaf0da3c01877c887bde1fa740cacb4a9d
---

 libavcodec/4xm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 3d3bc56..ff10082 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -339,7 +339,7 @@ static inline void mcdc(uint16_t *dst, const uint16_t *src, int log2w,
     }
 }
 
-static int decode_p_block(FourXContext *f, uint16_t *dst, uint16_t *src,
+static int decode_p_block(FourXContext *f, uint16_t *dst, const uint16_t *src,
                           int log2w, int log2h, int stride)
 {
     const int index = size2index[log2h][log2w];



More information about the ffmpeg-cvslog mailing list