Commit 35ee573b authored by François Cartegnie's avatar François Cartegnie 🤞

packetizer: dts: clear warnings

parent f6991e50
......@@ -175,6 +175,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 */
......@@ -185,6 +186,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 DTS frame header (VLC_DTS_HEADER_SIZE bytes) */
......@@ -218,6 +220,7 @@ static block_t *PacketizeBlock( decoder_t *p_dec, block_t **pp_block )
p_sys->i_input_size = p_sys->i_next_offset = p_sys->dts.i_frame_size;
p_sys->i_state = STATE_NEXT_SYNC;
/* fallthrough */
case STATE_NEXT_SYNC:
/* Check if next expected frame contains the sync word */
......@@ -289,6 +292,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