[vlc-devel] commit: In HandleMessage(), don't let the 0xF0 case fallthrough. Otherwise setting datalen would be pointless. (Fabian Keil )

git version control git at videolan.org
Sat Jul 4 11:55:21 CEST 2009


vlc | branch: 1.0-bugfix | Fabian Keil <fk at fabiankeil.de> | Thu Jul  2 20:48:28 2009 +0200| [715e49e7a8046f991b88a65b5285cef2aa51b63b] | committer: Rémi Duraffort 

In HandleMessage(), don't let the 0xF0 case fallthrough. Otherwise setting datalen would be pointless.

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
(cherry picked from commit 7dd7ba0847b037bb10927646f435a3343bd9c169)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 modules/demux/smf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/demux/smf.c b/modules/demux/smf.c
index ec02487..3fae374 100644
--- a/modules/demux/smf.c
+++ b/modules/demux/smf.c
@@ -512,6 +512,7 @@ int HandleMessage (demux_t *p_demux, mtrk_t *tr)
                     datalen = 0;
                     break;
             }
+            break;
         case 0xC0:
         case 0xD0:
             datalen = 1;




More information about the vlc-devel mailing list