mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
minor syntax fixes
This commit is contained in:
parent
31b8f6fc69
commit
54be2c1c41
@ -144,4 +144,4 @@ typedef struct tag_plugin_input_fn {
|
||||
} PLUGIN_INPUT_FN;
|
||||
|
||||
|
||||
#endif _FF_PLUGINS_
|
||||
#endif /* _FF_PLUGINS_ */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user