changeset 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 d42ab8824434
children 3ccec186532f
files utils.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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: