[SCM] libav/experimental: Minor warning fix.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:33:26 UTC 2013
The following commit has been merged in the experimental branch:
commit 7ffbb60ee7da48804c918c160c7cba15ee4c95a1
Author: Falk Hüffner <mellum at users.sourceforge.net>
Date: Sat Sep 28 01:49:37 2002 +0000
Minor warning fix.
Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk
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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list