[vlc-commits] demux: subtitle: missing breaks (cid #1399556, #1399555)

Francois Cartegnie git at videolan.org
Wed Jan 25 09:51:21 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan 25 09:50:24 2017 +0100| [9506c08d390cf8acece34d6560b3e4b99c725202] | committer: Francois Cartegnie

demux: subtitle: missing breaks (cid #1399556, #1399555)

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

 modules/demux/subtitle.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index 8a0218a..6f630b1 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -670,6 +670,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                     return VLC_SUCCESS;
                 }
             }
+            break;
 
         case DEMUX_GET_POSITION:
             pf = (double*)va_arg( args, double * );
@@ -706,6 +707,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                     }
                 }
             }
+            break;
 
         case DEMUX_SET_NEXT_DEMUX_TIME:
             p_sys->b_slave = true;



More information about the vlc-commits mailing list