diff avcodec.h @ 862:058194d7ade6 libavcodec

* fixing some minor const warnings
author kabi
date Tue, 12 Nov 2002 15:00:04 +0000
parents a6ed9b34a650
children 725ef4ea3ecc
line wrap: on
line diff
--- a/avcodec.h	Tue Nov 12 10:05:21 2002 +0000
+++ b/avcodec.h	Tue Nov 12 15:00:04 2002 +0000
@@ -773,7 +773,7 @@
 } AVCodecContext;
 
 typedef struct AVCodec {
-    char *name;
+    const char *name;
     int type;
     int id;
     int priv_data_size;
@@ -1021,8 +1021,8 @@
 int avcodec(void* handle, avc_cmd_t cmd, void* pin, void* pout);
 
 /* memory */
-void *av_malloc(int size);
-void *av_mallocz(int size);
+void *av_malloc(unsigned int size);
+void *av_mallocz(unsigned int size);
 void av_free(void *ptr);
 void __av_freep(void **ptr);
 #define av_freep(p) __av_freep((void **)(p))