Mercurial > libavcodec.hg
diff utils.c @ 3435:ffa9e863f3be libavcodec
simplify the voc demuxer using av_get_bits_per_sample()
author | aurel |
---|---|
date | Fri, 07 Jul 2006 22:42:36 +0000 |
parents | e1906b2f1daf |
children | fbf61a160154 |
line wrap: on
line diff
--- a/utils.c Fri Jul 07 22:41:43 2006 +0000 +++ b/utils.c Fri Jul 07 22:42:36 2006 +0000 @@ -1306,6 +1306,11 @@ int av_get_bits_per_sample(enum CodecID codec_id){ switch(codec_id){ + case CODEC_ID_ADPCM_CT: + case CODEC_ID_ADPCM_SBPRO_2: + case CODEC_ID_ADPCM_SBPRO_3: + case CODEC_ID_ADPCM_SBPRO_4: + return 0; case CODEC_ID_PCM_ALAW: case CODEC_ID_PCM_MULAW: case CODEC_ID_PCM_S8: