Revision 7ffbb60e

View differences:

libavcodec/avcodec.h
878 878
AVCodec *avcodec_find_decoder_by_name(const char *name);
879 879
void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode);
880 880

  
881
AVCodecContext *avcodec_alloc_context();
881
AVCodecContext *avcodec_alloc_context(void);
882 882
int avcodec_open(AVCodecContext *avctx, AVCodec *codec);
883 883
int avcodec_decode_audio(AVCodecContext *avctx, INT16 *samples, 
884 884
                         int *frame_size_ptr,
libavcodec/utils.c
67 67
 * allocates a AVCodecContext and set it to defaults.
68 68
 * this can be deallocated by simply calling free() 
69 69
 */
70
AVCodecContext *avcodec_alloc_context(){
70
AVCodecContext *avcodec_alloc_context(void){
71 71
    AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext));
72 72
    
73 73
    if(avctx==NULL) return NULL;

Also available in: Unified diff