[vlc-commits] packetizer: mlp: fix endless loop
Francois Cartegnie
git at videolan.org
Fri Dec 23 17:43:04 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 23 17:42:28 2016 +0100| [0b8974f484370cd3853c035fa3e16a25622354d7] | committer: Francois Cartegnie
packetizer: mlp: fix endless loop
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b8974f484370cd3853c035fa3e16a25622354d7
---
modules/packetizer/mlp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packetizer/mlp.c b/modules/packetizer/mlp.c
index 0bfb0e6..3530d36 100644
--- a/modules/packetizer/mlp.c
+++ b/modules/packetizer/mlp.c
@@ -367,7 +367,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
{
if( p_block == NULL ) /* drain */
{
- p_sys->i_state = STATE_SEND_DATA;
+ p_sys->i_state = STATE_GET_DATA;
break;
}
/* Need more data */
More information about the vlc-commits
mailing list