Mercurial > mplayer.hg
view libmpcodecs/ae_pcm.h @ 28973:9ae8c54007f5
Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:
libswscale/swscale-example.c:60: warning: 'outContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'dstContext' may be used uninitialized in this function
libswscale/swscale-example.c:60: warning: 'srcContext' may be used uninitialized in this function
author | diego |
---|---|
date | Thu, 19 Mar 2009 23:33:35 +0000 |
parents | 4129c8cfa742 |
children | bbb6ebec87a0 |
line wrap: on
line source
#ifndef MPLAYER_AE_PCM_H #define MPLAYER_AE_PCM_H #include "ae.h" int mpae_init_pcm(audio_encoder_t *encoder); #endif /* MPLAYER_AE_PCM_H */