changeset 703:65f9e32225ba libavcodec

Minor warning fix.
author mellum
date Sat, 28 Sep 2002 01:49:37 +0000
parents 2cff6fc37716
children 9b35329086c7
files avcodec.h utils.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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;