Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2be34a0f
Commit
2be34a0f
authored
Sep 19, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/real.c: avoid using null pts + removed debug message.
parent
d1d76141
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/demux/real.c
modules/demux/real.c
+6
-0
No files found.
modules/demux/real.c
View file @
2be34a0f
...
...
@@ -202,9 +202,15 @@ static int Demux( demux_t *p_demux )
i_size
=
GetWBE
(
&
header
[
2
]
)
-
12
;
i_id
=
GetWBE
(
&
header
[
4
]
);
i_pts
=
1000
*
GetDWBE
(
&
header
[
6
]
);
i_pts
+=
1000
;
/* Avoid 0 pts */
/* header[11] -> flags 0x02 -> keyframe */
#if 0
msg_Dbg( p_demux, "packet %d size=%d id=%d pts=%u",
p_sys->i_data_packets, i_size, i_id, (uint32_t)(i_pts/1000) );
#endif
p_sys
->
i_data_packets
++
;
stream_Read
(
p_demux
->
s
,
p_sys
->
buffer
,
i_size
);
...
...
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