diff options
author | Falk Hüffner <mellum@users.sourceforge.net> | 2002-09-28 01:49:37 +0000 |
---|---|---|
committer | Falk Hüffner <mellum@users.sourceforge.net> | 2002-09-28 01:49:37 +0000 |
commit | 7ffbb60ee7da48804c918c160c7cba15ee4c95a1 (patch) | |
tree | 16d7e98b4b7f6e6edea2c3f580f6d899e44976fb /libavcodec | |
parent | a9c6830605ed6aacb6f49fcdc00df2d7bb6bea02 (diff) | |
download | ffmpeg-7ffbb60ee7da48804c918c160c7cba15ee4c95a1.tar.gz |
Minor warning fix.
Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 2 | ||||
-rw-r--r-- | libavcodec/utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 6c33a304fe..b245c359d2 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 933638f5c9..8271d4c648 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; |