]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - wma.h
read_asf_header(): Make it take a const pointer.
[paraslash.git] / wma.h
diff --git a/wma.h b/wma.h
index 850ffc971e30c4e65059be76b3879003cddad815..18748dad9be2bdbf6faf1c7a1a49cba6d78e8fac 100644 (file)
--- a/wma.h
+++ b/wma.h
@@ -28,7 +28,7 @@ struct asf_header_info {
 int wma_log2(unsigned int v);
 const char *search_pattern(const char *pattern, int pattern_len,
                const char *buf, int buf_size);
-int read_asf_header(char *buf, int loaded, struct asf_header_info *ahi);
+int read_asf_header(const char *buf, int loaded, struct asf_header_info *ahi);
 
 #define WMA_FRAME_SKIP 31
 #define DECLARE_ALIGNED(n,t,v)      t v __attribute__ ((aligned (n)))