From 7ffbb60ee7da48804c918c160c7cba15ee4c95a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Falk=20H=C3=BCffner?= Date: Sat, 28 Sep 2002 01:49:37 +0000 Subject: [PATCH] Minor warning fix. Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 2 +- libavcodec/utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 6c33a30..b245c35 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -878,7 +878,7 @@ AVCodec *avcodec_find_decoder(enum CodecID id); 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 --git a/libavcodec/utils.c b/libavcodec/utils.c index 933638f..8271d4c 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -67,7 +67,7 @@ void avcodec_get_context_defaults(AVCodecContext *s){ * 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; -- 2.7.4