mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
minor syntax fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user