# HG changeset patch # User mellum # Date 1033177777 0 # Node ID 65f9e32225bae7e22681744fedc1b95da2ebcc97 # Parent 2cff6fc3771634092d8e18b1aae7d6d962e32add Minor warning fix. diff -r 2cff6fc37716 -r 65f9e32225ba avcodec.h --- a/avcodec.h Fri Sep 27 15:38:54 2002 +0000 +++ b/avcodec.h Sat Sep 28 01:49:37 2002 +0000 @@ -878,7 +878,7 @@ AVCodec *avcodec_find_decoder_by_name(const char *name); void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode); -AVCodecContext *avcodec_alloc_context(); +AVCodecContext *avcodec_alloc_context(void); int avcodec_open(AVCodecContext *avctx, AVCodec *codec); int avcodec_decode_audio(AVCodecContext *avctx, INT16 *samples, int *frame_size_ptr, diff -r 2cff6fc37716 -r 65f9e32225ba utils.c --- a/utils.c Fri Sep 27 15:38:54 2002 +0000 +++ b/utils.c Sat Sep 28 01:49:37 2002 +0000 @@ -67,7 +67,7 @@ * allocates a AVCodecContext and set it to defaults. * this can be deallocated by simply calling free() */ -AVCodecContext *avcodec_alloc_context(){ +AVCodecContext *avcodec_alloc_context(void){ AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext)); if(avctx==NULL) return NULL;