Revision 7ffbb60e libavcodec/utils.c

View differences:

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