Commit 5c31469c authored by mellum's avatar mellum

Minor warning fix.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@977 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8af14c02
...@@ -878,7 +878,7 @@ AVCodec *avcodec_find_decoder(enum CodecID id); ...@@ -878,7 +878,7 @@ AVCodec *avcodec_find_decoder(enum CodecID id);
AVCodec *avcodec_find_decoder_by_name(const char *name); AVCodec *avcodec_find_decoder_by_name(const char *name);
void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode); 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_open(AVCodecContext *avctx, AVCodec *codec);
int avcodec_decode_audio(AVCodecContext *avctx, INT16 *samples, int avcodec_decode_audio(AVCodecContext *avctx, INT16 *samples,
int *frame_size_ptr, int *frame_size_ptr,
......
...@@ -67,7 +67,7 @@ void avcodec_get_context_defaults(AVCodecContext *s){ ...@@ -67,7 +67,7 @@ void avcodec_get_context_defaults(AVCodecContext *s){
* allocates a AVCodecContext and set it to defaults. * allocates a AVCodecContext and set it to defaults.
* this can be deallocated by simply calling free() * this can be deallocated by simply calling free()
*/ */
AVCodecContext *avcodec_alloc_context(){ AVCodecContext *avcodec_alloc_context(void){
AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext)); AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext));
if(avctx==NULL) return NULL; if(avctx==NULL) return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment