Browse Source

Add a note to remind people that new PCM/ADPCM formats need to be added to

the Makefile as well to allow proper selective compilation.

Originally committed as revision 14072 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 17 years ago
parent
commit
bbdfa06d43
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      libavcodec/adpcm.c
  2. +1
    -0
      libavcodec/pcm.c

+ 1
- 0
libavcodec/adpcm.c View File

@@ -1636,6 +1636,7 @@ AVCodec name ## _decoder = { \
#define ADPCM_CODEC(id,name,long_name_) \
ADPCM_ENCODER(id,name,long_name_) ADPCM_DECODER(id,name,long_name_)

/* Note: Do not forget to add new entries to the Makefile as well. */
ADPCM_DECODER(CODEC_ID_ADPCM_4XM, adpcm_4xm, "4X Movie ADPCM");
ADPCM_DECODER(CODEC_ID_ADPCM_CT, adpcm_ct, "Creative Technology ADPCM");
ADPCM_DECODER(CODEC_ID_ADPCM_EA, adpcm_ea, "Electronic Arts ADPCM");


+ 1
- 0
libavcodec/pcm.c View File

@@ -556,6 +556,7 @@ AVCodec name ## _decoder = { \
#define PCM_CODEC(id, name, long_name_) \
PCM_ENCODER(id,name,long_name_) PCM_DECODER(id,name,long_name_)

/* Note: Do not forget to add new entries to the Makefile as well. */
PCM_CODEC (CODEC_ID_PCM_ALAW, pcm_alaw, "A-law PCM");
PCM_CODEC (CODEC_ID_PCM_DVD, pcm_dvd, "signed 16|20|24-bit big-endian PCM");
PCM_CODEC (CODEC_ID_PCM_MULAW, pcm_mulaw, "mu-law PCM");


Loading…
Cancel
Save