[vlc-commits] packetizer: dts: fix endless loop

Francois Cartegnie git at videolan.org
Fri Dec 23 17:43:02 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 23 17:42:12 2016 +0100| [51f706c72c82960dd36e3ed609e8f2bb5e7830e6] | committer: Francois Cartegnie

packetizer: dts: fix endless loop

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=51f706c72c82960dd36e3ed609e8f2bb5e7830e6
---

 modules/packetizer/dts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/packetizer/dts.c b/modules/packetizer/dts.c
index 51babb0..5799470 100644
--- a/modules/packetizer/dts.c
+++ b/modules/packetizer/dts.c
@@ -214,7 +214,7 @@ static block_t *PacketizeBlock( 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