diff --git a/src/ff-plugins.h b/src/ff-plugins.h index d9558e63..e0678d23 100644 --- a/src/ff-plugins.h +++ b/src/ff-plugins.h @@ -144,4 +144,4 @@ typedef struct tag_plugin_input_fn { } PLUGIN_INPUT_FN; -#endif _FF_PLUGINS_ +#endif /* _FF_PLUGINS_ */ diff --git a/src/plugins/ssc-ffmpeg.c b/src/plugins/ssc-ffmpeg.c index 6cadf535..68ad2f10 100644 --- a/src/plugins/ssc-ffmpeg.c +++ b/src/plugins/ssc-ffmpeg.c @@ -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;