diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-12 15:00:04 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-12 15:00:04 +0000 |
commit | 18f770162b9d079f2d278a719d7684dd19d86202 (patch) | |
tree | 5c77ea1c50f73765a3378392b4d311c8543329f0 /libavcodec/avcodec.h | |
parent | 92ddb69283d36a3b930fe94ab9f1b4503939b5d1 (diff) | |
download | ffmpeg-18f770162b9d079f2d278a719d7684dd19d86202.tar.gz |
* fixing some minor const warnings
Originally committed as revision 1205 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 8e2fc3d589..3e7bb468d3 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -773,7 +773,7 @@ typedef struct AVCodecContext { } AVCodecContext; typedef struct AVCodec { - char *name; + const char *name; int type; int id; int priv_data_size; @@ -1021,8 +1021,8 @@ typedef enum { 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)) |