[FFmpeg-cvslog] postprocess: prefetch* dont change anything, thus their arguments should be const
Michael Niedermayer
git at videolan.org
Mon Sep 22 17:56:14 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Sep 22 17:42:10 2014 +0200| [bd6890975303f4c19bd55669ca69d4ddc61cf6b2] | committer: Michael Niedermayer
postprocess: prefetch* dont change anything, thus their arguments should be const
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd6890975303f4c19bd55669ca69d4ddc61cf6b2
---
libpostproc/postprocess.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index dae5e27..e06c29b 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -166,28 +166,28 @@ static const char * const replaceTable[]=
#if ARCH_X86 && HAVE_INLINE_ASM
-static inline void prefetchnta(void *p)
+static inline void prefetchnta(const void *p)
{
__asm__ volatile( "prefetchnta (%0)\n\t"
: : "r" (p)
);
}
-static inline void prefetcht0(void *p)
+static inline void prefetcht0(const void *p)
{
__asm__ volatile( "prefetcht0 (%0)\n\t"
: : "r" (p)
);
}
-static inline void prefetcht1(void *p)
+static inline void prefetcht1(const void *p)
{
__asm__ volatile( "prefetcht1 (%0)\n\t"
: : "r" (p)
);
}
-static inline void prefetcht2(void *p)
+static inline void prefetcht2(const void *p)
{
__asm__ volatile( "prefetcht2 (%0)\n\t"
: : "r" (p)
More information about the ffmpeg-cvslog
mailing list