Revision 44adbebe libavcodec/adpcm.c

View differences:

libavcodec/adpcm.c
1719 1719
    NULL,                                       \
1720 1720
    .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE}, \
1721 1721
    .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
1722
};
1722
}
1723 1723
#else
1724 1724
#define ADPCM_ENCODER(id,name,long_name_)
1725 1725
#endif
......
1736 1736
    NULL,                                       \
1737 1737
    adpcm_decode_frame,                         \
1738 1738
    .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
1739
};
1739
}
1740 1740
#else
1741 1741
#define ADPCM_DECODER(id,name,long_name_)
1742 1742
#endif
1743 1743

  
1744 1744
#define ADPCM_CODEC(id,name,long_name_)         \
1745
    ADPCM_ENCODER(id,name,long_name_) ADPCM_DECODER(id,name,long_name_)
1745
    ADPCM_ENCODER(id,name,long_name_); ADPCM_DECODER(id,name,long_name_)
1746 1746

  
1747 1747
/* Note: Do not forget to add new entries to the Makefile as well. */
1748 1748
ADPCM_DECODER(CODEC_ID_ADPCM_4XM, adpcm_4xm, "ADPCM 4X Movie");

Also available in: Unified diff