minor syntax fixes

This commit is contained in:
Ron Pedde
2006-05-28 20:11:15 +00:00
parent 31b8f6fc69
commit 54be2c1c41
2 changed files with 1 additions and 8 deletions

View File

@@ -394,16 +394,9 @@ int ssc_ffmpeg_read(void *vp, char *buffer, int len) {
channels = handle->pCodecCtx->channels;
sample_rate = handle->pCodecCtx->sample_rate;
switch(handle->pCodecCtx->sample_fmt) {
case SAMPLE_FMT_U8:
bits_per_sample = 8;
break;
case SAMPLE_FMT_S16:
bits_per_sample = 16;
break;
case SAMPLE_FMT_S24:
/* BROKEN */
bits_per_sample = 24;
break;
case SAMPLE_FMT_S32:
/* BROKEN */
bits_per_sample = 32;