simplify the voc demuxer using av_get_bits_per_sample()
Originally committed as revision 5663 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user