Revision d771bcae libavcodec/utils.c

View differences:

libavcodec/utils.c
244 244
/* simple call to use all the codecs */
245 245
void avcodec_register_all(void)
246 246
{
247
    /* encoders */
248
#ifdef CONFIG_ENCODERS
247 249
    register_avcodec(&ac3_encoder);
248 250
    register_avcodec(&mp2_encoder);
249 251
    register_avcodec(&mpeg1video_encoder);
......
253 255
    register_avcodec(&mjpeg_encoder);
254 256
    register_avcodec(&opendivx_encoder);
255 257
    register_avcodec(&msmpeg4_encoder);
258
#endif /* CONFIG_ENCODERS */
256 259
    register_avcodec(&pcm_codec);
257 260
    register_avcodec(&rawvideo_codec);
261

  
258 262
    /* decoders */
263
#ifdef CONFIG_DECODERS
259 264
    register_avcodec(&h263_decoder);
260 265
    register_avcodec(&opendivx_decoder);
261 266
    register_avcodec(&msmpeg4_decoder);
262 267
    register_avcodec(&mpeg_decoder);
263 268
    register_avcodec(&h263i_decoder);
264 269
    register_avcodec(&rv10_decoder);
270
#ifdef CONFIG_MPGLIB
271
    register_avcodec(&mp3_decoder);
272
#endif
273
#ifdef CONFIG_AC3
274
    register_avcodec(&ac3_decoder);
275
#endif
276
#endif /* CONFIG_DECODERS */
265 277
}
266 278

  
267 279
static int encode_init(AVCodecContext *s)

Also available in: Unified diff