[vlc-commits] demux: mp4: simplify subs cases

Francois Cartegnie git at videolan.org
Tue Jan 17 20:14:57 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jan 17 15:21:46 2017 +0100| [2cc48569c388379b9d88e2b0201da5d0b31f8d89] | committer: Francois Cartegnie

demux: mp4: simplify subs cases

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

 modules/demux/mp4/mp4.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 283f7a1..898c2fd 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -3107,11 +3107,7 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
         case( ATOM_text ):
         case( ATOM_subp ):
         case( ATOM_sbtl ):
-            p_track->fmt.i_cat = SPU_ES;
-            break;
-
-        /* closed captions */
-        case( ATOM_clcp ):
+        case( ATOM_clcp ): /* closed captions */
             p_track->fmt.i_cat = SPU_ES;
             break;
 



More information about the vlc-commits mailing list