From 7ffbb60ee7da48804c918c160c7cba15ee4c95a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Falk=20H=C3=BCffner?= <mellum@users.sourceforge.net>
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 6c33a304fe3..b245c359d2d 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 933638f5c9d..8271d4c648f 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;
-- 
GitLab