[FFmpeg-cvslog] avfilter/uspp: make src const in store_slice_c()

Clément Bœsch git at videolan.org
Fri Dec 12 01:57:05 CET 2014


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Fri Dec 12 01:45:29 2014 +0100| [397859c4a830338a4cffb54701ed8e3e5986f92e] | committer: Clément Bœsch

avfilter/uspp: make src const in store_slice_c()

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

 libavfilter/vf_uspp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index 3b1f3b5..9ddf5df 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -158,7 +158,7 @@ static const uint8_t offset[511][2] = {
     { 3, 4}, {11, 4}, { 3,12}, {11,12}, { 7, 0}, {15, 0}, { 7, 8}, {15, 8},
 };
 
-static void store_slice_c(uint8_t *dst, int16_t *src,
+static void store_slice_c(uint8_t *dst, const int16_t *src,
                           int dst_stride, int src_stride,
                           int width, int height, int log2_scale)
 {



More information about the ffmpeg-cvslog mailing list