comparison utils.c @ 703:65f9e32225ba libavcodec

Minor warning fix.
author mellum
date Sat, 28 Sep 2002 01:49:37 +0000
parents 83d2c9d50d7d
children 3be57e506f01
comparison
equal deleted inserted replaced
702:2cff6fc37716 703:65f9e32225ba
65 65
66 /** 66 /**
67 * allocates a AVCodecContext and set it to defaults. 67 * allocates a AVCodecContext and set it to defaults.
68 * this can be deallocated by simply calling free() 68 * this can be deallocated by simply calling free()
69 */ 69 */
70 AVCodecContext *avcodec_alloc_context(){ 70 AVCodecContext *avcodec_alloc_context(void){
71 AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext)); 71 AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext));
72 72
73 if(avctx==NULL) return NULL; 73 if(avctx==NULL) return NULL;
74 74
75 avcodec_get_context_defaults(avctx); 75 avcodec_get_context_defaults(avctx);