mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-24 12:30:38 -04:00
minor syntax fixes
This commit is contained in:
parent
31b8f6fc69
commit
54be2c1c41
src
@ -144,4 +144,4 @@ typedef struct tag_plugin_input_fn {
|
|||||||
} 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;
|
channels = handle->pCodecCtx->channels;
|
||||||
sample_rate = handle->pCodecCtx->sample_rate;
|
sample_rate = handle->pCodecCtx->sample_rate;
|
||||||
switch(handle->pCodecCtx->sample_fmt) {
|
switch(handle->pCodecCtx->sample_fmt) {
|
||||||
case SAMPLE_FMT_U8:
|
|
||||||
bits_per_sample = 8;
|
|
||||||
break;
|
|
||||||
case SAMPLE_FMT_S16:
|
case SAMPLE_FMT_S16:
|
||||||
bits_per_sample = 16;
|
bits_per_sample = 16;
|
||||||
break;
|
break;
|
||||||
case SAMPLE_FMT_S24:
|
|
||||||
/* BROKEN */
|
|
||||||
bits_per_sample = 24;
|
|
||||||
break;
|
|
||||||
case SAMPLE_FMT_S32:
|
case SAMPLE_FMT_S32:
|
||||||
/* BROKEN */
|
/* BROKEN */
|
||||||
bits_per_sample = 32;
|
bits_per_sample = 32;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user