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

packetizer: a52: clear warnings

parent ce7bdaa0
......@@ -177,6 +177,7 @@ static block_t *PacketizeBlock( decoder_t *p_dec, block_t **pp_block )
/* Need more data */
return NULL;
}
/* fallthrough */
case STATE_SYNC:
/* New frame, set the Presentation Time Stamp */
......@@ -187,6 +188,7 @@ static block_t *PacketizeBlock( decoder_t *p_dec, block_t **pp_block )
date_Set( &p_sys->end_date, p_sys->i_pts );
}
p_sys->i_state = STATE_HEADER;
/* fallthrough */
case STATE_HEADER:
/* Get A/52 frame header (VLC_A52_HEADER_SIZE bytes) */
......@@ -217,6 +219,7 @@ static block_t *PacketizeBlock( decoder_t *p_dec, block_t **pp_block )
p_sys->frame = a52;
p_sys->i_state = STATE_NEXT_SYNC;
/* fallthrough */
case STATE_NEXT_SYNC:
/* Check if next expected frame contains the sync word */
......@@ -260,6 +263,7 @@ static block_t *PacketizeBlock( decoder_t *p_dec, block_t **pp_block )
return NULL;
}
p_sys->i_state = STATE_SEND_DATA;
/* fallthrough */
case STATE_SEND_DATA:
if( !(p_out_buffer = GetOutBuffer( p_dec )) )
......
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