mjpegtools/mjpegtools-writeable_strings.patch

23 lines
731 B
Diff
Raw Normal View History

--- mjpegtools-1.9.0rc3/utils/motionsearch.h.fix 2008-06-25 11:12:55.000000000 +0200
+++ mjpegtools-1.9.0rc3/utils/motionsearch.h 2008-06-25 11:13:45.000000000 +0200
@@ -124,7 +124,7 @@
extern "C" {
#endif
-void init_motion_search(void), reset_motion_simd(char *);
+void init_motion_search(void), reset_motion_simd(const char *);
int round_search_radius( int radius );
#ifdef __cplusplus
--- mjpegtools-1.9.0rc3/utils/motionsearch.c.fix 2008-06-25 11:12:50.000000000 +0200
+++ mjpegtools-1.9.0rc3/utils/motionsearch.c 2008-06-25 11:13:33.000000000 +0200
@@ -1021,7 +1021,7 @@
p##x = x; \
}
-void reset_motion_simd(char *name)
+void reset_motion_simd(const char *name)
{
SIMD_RESET(sad_00);
SIMD_RESET(sad_01);