mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-30 00:41:19 +02:00
libstb_hal: Suppress implicit-fallthrough warnings from GCC 7
This commit is contained in:
@@ -137,6 +137,7 @@ static int writeData(WriterAVCallData_t *call)
|
||||
case AV_CODEC_ID_PCM_S16LE:
|
||||
case AV_CODEC_ID_PCM_U16LE:
|
||||
LE = 1;
|
||||
// fall through
|
||||
case AV_CODEC_ID_PCM_S16BE:
|
||||
case AV_CODEC_ID_PCM_U16BE:
|
||||
width = depth = 16;
|
||||
@@ -144,6 +145,7 @@ static int writeData(WriterAVCallData_t *call)
|
||||
case AV_CODEC_ID_PCM_S24LE:
|
||||
case AV_CODEC_ID_PCM_U24LE:
|
||||
LE = 1;
|
||||
// fall through
|
||||
case AV_CODEC_ID_PCM_S24BE:
|
||||
case AV_CODEC_ID_PCM_U24BE:
|
||||
width = depth = 24;
|
||||
@@ -151,6 +153,7 @@ static int writeData(WriterAVCallData_t *call)
|
||||
case AV_CODEC_ID_PCM_S32LE:
|
||||
case AV_CODEC_ID_PCM_U32LE:
|
||||
LE = 1;
|
||||
// fall through
|
||||
case AV_CODEC_ID_PCM_S32BE:
|
||||
case AV_CODEC_ID_PCM_U32BE:
|
||||
width = depth = 32;
|
||||
|
Reference in New Issue
Block a user