From 5a093689570d27df5ecd7394284a670fc32234b5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 19 Nov 2010 02:14:18 +0000 Subject: use 'const char *' for imbuf and file ops. --- source/blender/avi/AVI_avi.h | 4 ++-- source/blender/avi/intern/avi.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/avi') diff --git a/source/blender/avi/AVI_avi.h b/source/blender/avi/AVI_avi.h index 2e71bd98309..90fa7705598 100644 --- a/source/blender/avi/AVI_avi.h +++ b/source/blender/avi/AVI_avi.h @@ -232,7 +232,7 @@ typedef enum { /** * Test whether this is an avi-format. */ -int AVI_is_avi (char *name); +int AVI_is_avi (const char *name); /** @@ -277,7 +277,7 @@ int AVI_get_stream (AviMovie *movie, int avist_type, int stream_num); /** * Open a movie stream from file. */ -AviError AVI_open_movie (char *name, AviMovie *movie); +AviError AVI_open_movie (const char *name, AviMovie *movie); /** * Read a frame from a movie stream. diff --git a/source/blender/avi/intern/avi.c b/source/blender/avi/intern/avi.c index 53be1b4467a..d4b39b176d8 100644 --- a/source/blender/avi/intern/avi.c +++ b/source/blender/avi/intern/avi.c @@ -211,7 +211,7 @@ int AVI_is_avi (char *name) { } */ -int AVI_is_avi (char *name) { +int AVI_is_avi (const char *name) { int temp, fcca, j; AviMovie movie; AviMainHeader header; @@ -404,7 +404,7 @@ int AVI_is_avi (char *name) { } -AviError AVI_open_movie (char *name, AviMovie *movie) { +AviError AVI_open_movie (const char *name, AviMovie *movie) { int temp, fcca, size, j; DEBUG_PRINT("opening movie\n"); -- cgit v1.2.3