Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
b1cb747e
Commit
b1cb747e
authored
Apr 26, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Standard MIDI file demux: fix comments
parent
0db5f2a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/demux/smf.c
modules/demux/smf.c
+3
-2
No files found.
modules/demux/smf.c
View file @
b1cb747e
...
...
@@ -295,7 +295,7 @@ int HandleMeta (demux_t *p_demux, mtrk_t *tr)
case
0x00
:
/* Sequence Number */
break
;
case
0x01
:
/* Te
s
t (comment) */
case
0x01
:
/* Te
x
t (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 dec
i
der every 10ms) */
/* MIDI Tick emulation (ping the dec
o
der every 10ms) */
while
(
cur_tick
<
last_tick
)
{
block_t
*
tick
=
block_New
(
p_demux
,
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment