[vlc-commits] packetizer: mlp: clear warnings
Francois Cartegnie
git at videolan.org
Thu Nov 9 11:11:31 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Nov 9 10:27:47 2017 +0100| [ce7bdaa0bddb24ac6a36120994ce308e4cabb09f] | committer: Francois Cartegnie
packetizer: mlp: clear warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce7bdaa0bddb24ac6a36120994ce308e4cabb09f
---
modules/packetizer/mlp.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/packetizer/mlp.c b/modules/packetizer/mlp.c
index e16aca157c..60e02ca615 100644
--- a/modules/packetizer/mlp.c
+++ b/modules/packetizer/mlp.c
@@ -326,6 +326,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
/* Need more data */
return NULL;
}
+ /* fallthrough */
case STATE_SYNC:
/* New frame, set the Presentation Time Stamp */
@@ -336,6 +337,7 @@ static block_t *Packetize( 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 MLP header */
@@ -358,6 +360,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
break;
}
p_sys->i_state = STATE_NEXT_SYNC;
+ /* fallthrough */
case STATE_NEXT_SYNC:
/* Check if next expected frame contains the sync word */
@@ -395,6 +398,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
return NULL;
}
p_sys->i_state = STATE_SEND_DATA;
+ /* fallthrough */
case STATE_SEND_DATA:
/* When we reach this point we already know we have enough
More information about the vlc-commits
mailing list