diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2006-07-07 22:42:36 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-07-07 22:42:36 +0000 |
commit | 5da714699d6e16f3a915fbe2cef9f5e9d8d77172 (patch) | |
tree | 27151e1e6c2892ffd2f9a806b65093096ea65368 /libavcodec | |
parent | c448303df66c5e918cc2385bd1851e55c9b00e98 (diff) | |
download | ffmpeg-5da714699d6e16f3a915fbe2cef9f5e9d8d77172.tar.gz |
simplify the voc demuxer using av_get_bits_per_sample()
Originally committed as revision 5663 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index b343ba085f..574238e79f 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1306,6 +1306,11 @@ char av_get_pict_type_char(int pict_type){ 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: |