Commit b9cc9c42 authored by François Cartegnie's avatar François Cartegnie 🤞

use fallthrough instead of ft comment

expected by gcc when not using dedicated attribute
parent 7c04db8c
......@@ -496,7 +496,7 @@ static int Demux( demux_t *p_demux )
block_Release( p_pkt );
break;
}
//ft
/* fallthrough */
case PS_STREAM_ID_PRIVATE_STREAM1:
case PS_STREAM_ID_EXTENDED:
{
......
......@@ -298,7 +298,7 @@ static void ParsePMTPrivateRegistrations( demux_t *p_demux, const dvbpsi_descrip
msg_Dbg( p_demux, PMT_DESC_PREFIX "EACEM Simulcast HD" );
break;
}
//ft
/* fallthrough */
}
default:
msg_Dbg( p_demux, PMT_DESC_PREFIX "Unknown Private (0x%x)", p_dr->i_tag );
......@@ -1492,7 +1492,7 @@ static void FillPESFromDvbpsiES( demux_t *p_demux,
/* All other private or reserved types */
case 0x13: /* SL in sections */
p_pes->transport = TS_TRANSPORT_SECTIONS;
//ft
/* fallthrough */
case 0x0f:
case 0x10:
case 0x11:
......
......@@ -1239,7 +1239,7 @@ static void Ogg_DecodePacket( demux_t *p_demux,
#ifdef HAVE_LIBVORBIS
Ogg_DecodeVorbisHeader( p_stream, p_oggpacket, p_stream->i_packets_backup );
#endif
//ft
/* fallthrough */
case VLC_CODEC_THEORA:
if( p_stream->i_packets_backup == 3 )
p_stream->b_force_backup = false;
......@@ -2733,7 +2733,7 @@ static void Ogg_DecodeVorbisHeader( logical_stream_t *p_stream,
}
vorbis_info_init( p_stream->special.vorbis.p_info );
vorbis_comment_init( p_stream->special.vorbis.p_comment );
// ft
/* fallthrough */
case VORBIS_HEADER_COMMENT:
case VORBIS_HEADER_SETUP:
......@@ -2744,7 +2744,7 @@ static void Ogg_DecodeVorbisHeader( logical_stream_t *p_stream,
break;
p_stream->special.vorbis.i_headers_flags |= VORBIS_HEADER_TO_FLAG(i_number);
// ft
/* fallthrough */
default:
break;
......
......@@ -739,7 +739,7 @@ bool h264_get_dpb_values( const h264_sequence_parameter_set_t *p_sps,
i_max_num_reorder_frames = 0; /* all IDR */
break;
}
// ft
/* fallthrough */
default:
i_max_num_reorder_frames = h264_get_max_dpb_frames( p_sps );
break;
......
......@@ -129,12 +129,12 @@ intf_sys_t::~intf_sys_t()
case Seeking:
// Generate the close messages.
m_communication.msgReceiverClose( m_appTransportId );
// ft
/* fallthrough */
case Connecting:
case Connected:
case Launching:
m_communication.msgReceiverClose(DEFAULT_CHOMECAST_RECEIVER);
// ft
/* fallthrough */
default:
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment