PCM_CODEC(CODEC_ID_ADPCM_IMA_QT, adpcm_ima_qt); PCM_CODEC(CODEC_ID_ADPCM_IMA_WAV, adpcm_ima_wav); PCM_CODEC(CODEC_ID_ADPCM_MS, adpcm_ms);
void avcodec_register_all(void){    static int inited = 0;        if (inited != 0)	return;    inited = 1;    /* encoders */#ifdef CONFIG_ENCODERS    register_avcodec(&ac3_encoder);    register_avcodec(&mp2_encoder);#ifdef CONFIG_MP3LAME    register_avcodec(&mp3lame_encoder);#endif    register_avcodec(&mpeg1video_encoder);    register_avcodec(&h263_encoder);    register_avcodec(&h263p_encoder);    register_avcodec(&rv10_encoder);    register_avcodec(&mjpeg_encoder);    register_avcodec(&mpeg4_encoder);    register_avcodec(&msmpeg4v1_encoder);    register_avcodec(&msmpeg4v2_encoder);    register_avcodec(&msmpeg4v3_encoder);    register_avcodec(&wmv1_encoder);    register_avcodec(&wmv2_encoder);#endif /* CONFIG_ENCODERS */    register_avcodec(&rawvideo_codec);    /* decoders */#ifdef CONFIG_DECODERS    register_avcodec(&h263_decoder);    register_avcodec(&mpeg4_decoder);    register_avcodec(&msmpeg4v1_decoder);    register_avcodec(&msmpeg4v2_decoder);    register_avcodec(&msmpeg4v3_decoder);    register_avcodec(&wmv1_decoder);    register_avcodec(&wmv2_decoder);    register_avcodec(&mpeg_decoder);    register_avcodec(&h263i_decoder);    register_avcodec(&rv10_decoder);    register_avcodec(&svq1_decoder);    register_avcodec(&mjpeg_decoder);    register_avcodec(&mp2_decoder);    register_avcodec(&mp3_decoder);#ifdef CONFIG_AC3    register_avcodec(&ac3_decoder);#endif#endif /* CONFIG_DECODERS */    /* pcm codecs */#define PCM_CODEC(id, name) \    register_avcodec(& name ## _encoder); \    register_avcodec(& name ## _decoder); \PCM_CODEC(CODEC_ID_PCM_S16LE, pcm_s16le);PCM_CODEC(CODEC_ID_PCM_S16BE, pcm_s16be);PCM_CODEC(CODEC_ID_PCM_U16LE, pcm_u16le);PCM_CODEC(CODEC_ID_PCM_U16BE, pcm_u16be);PCM_CODEC(CODEC_ID_PCM_S8, pcm_s8);PCM_CODEC(CODEC_ID_PCM_U8, pcm_u8);PCM_CODEC(CODEC_ID_PCM_ALAW, pcm_alaw);PCM_CODEC(CODEC_ID_PCM_MULAW, pcm_mulaw);#undef PCM_CODEC}