[vlc-devel] commit: Standard MIDI file demux: fix comments ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Apr 26 18:20:46 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat Apr 26 19:21:41 2008 +0300| [b1cb747e78a22db59dac80434995311a07ff6fdf]

Standard MIDI file demux: fix comments

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

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

diff --git a/modules/demux/smf.c b/modules/demux/smf.c
index 4107898..1ca2dbb 100644
--- a/modules/demux/smf.c
+++ b/modules/demux/smf.c
@@ -295,7 +295,7 @@ int HandleMeta (demux_t *p_demux, mtrk_t *tr)
         case 0x00: /* Sequence Number */
             break;
 
-        case 0x01: /* Test (comment) */
+        case 0x01: /* Text (comment) */
             EnsureUTF8 ((char *)payload);
             msg_Info (p_demux, "Text      : %s", (char *)payload);
             break;
@@ -440,6 +440,7 @@ int HandleMessage (demux_t *p_demux, mtrk_t *tr)
                         if (c == 0xF7)
                             goto skip;
                     }
+                    /* never reached */
                 }
                 case 0xFF: /* SMF Meta Event */
                     if (HandleMeta (p_demux, tr))
@@ -550,7 +551,7 @@ static int Demux (demux_t *p_demux)
     else
         last_tick = cur_tick + 1;
 
-    /* MIDI Tick emulation (ping the decider every 10ms) */
+    /* MIDI Tick emulation (ping the decoder every 10ms) */
     while (cur_tick < last_tick)
     {
         block_t *tick = block_New (p_demux, 1);




More information about the vlc-devel mailing list