Revision 44adbebe libavcodec/pcm.c

View differences:

libavcodec/pcm.c
482 482
    .close       = pcm_encode_close,            \
483 483
    .sample_fmts = (const enum AVSampleFormat[]){sample_fmt_,AV_SAMPLE_FMT_NONE}, \
484 484
    .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
485
};
485
}
486 486
#else
487 487
#define PCM_ENCODER(id,sample_fmt_,name,long_name_)
488 488
#endif
......
498 498
    .decode         = pcm_decode_frame,         \
499 499
    .sample_fmts = (const enum AVSampleFormat[]){sample_fmt_,AV_SAMPLE_FMT_NONE}, \
500 500
    .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
501
};
501
}
502 502
#else
503 503
#define PCM_DECODER(id,sample_fmt_,name,long_name_)
504 504
#endif
505 505

  
506 506
#define PCM_CODEC(id, sample_fmt_, name, long_name_)         \
507
    PCM_ENCODER(id,sample_fmt_,name,long_name_) PCM_DECODER(id,sample_fmt_,name,long_name_)
507
    PCM_ENCODER(id,sample_fmt_,name,long_name_); PCM_DECODER(id,sample_fmt_,name,long_name_)
508 508

  
509 509
/* Note: Do not forget to add new entries to the Makefile as well. */
510 510
PCM_CODEC  (CODEC_ID_PCM_ALAW,  AV_SAMPLE_FMT_S16, pcm_alaw, "PCM A-law");

Also available in: Unified diff