Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8e32c9aa
Commit
8e32c9aa
authored
Sep 16, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ogg: no tabs in source-code
parent
98b1b280
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/demux/ogg.c
modules/demux/ogg.c
+7
-7
No files found.
modules/demux/ogg.c
View file @
8e32c9aa
...
@@ -500,7 +500,7 @@ static void Ogg_UpdatePCR( logical_stream_t *p_stream,
...
@@ -500,7 +500,7 @@ static void Ogg_UpdatePCR( logical_stream_t *p_stream,
(
iframe
<<
p_stream
->
i_granule_shift
);
(
iframe
<<
p_stream
->
i_granule_shift
);
p_stream
->
i_pcr
=
(
iframe
+
pframe
-
p_stream
->
i_keyframe_offset
)
p_stream
->
i_pcr
=
(
iframe
+
pframe
-
p_stream
->
i_keyframe_offset
)
*
INT64_C
(
1000000
)
/
p_stream
->
f_rate
;
*
INT64_C
(
1000000
)
/
p_stream
->
f_rate
;
}
}
else
if
(
p_stream
->
fmt
.
i_codec
==
VLC_CODEC_DIRAC
)
else
if
(
p_stream
->
fmt
.
i_codec
==
VLC_CODEC_DIRAC
)
{
{
...
@@ -977,12 +977,12 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
...
@@ -977,12 +977,12 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
}
}
/* Check for Dirac header */
/* Check for Dirac header */
else
if
(
(
oggpacket
.
bytes
>=
5
&&
else
if
(
(
oggpacket
.
bytes
>=
5
&&
!
memcmp
(
oggpacket
.
packet
,
"BBCD
\x00
"
,
5
)
)
||
!
memcmp
(
oggpacket
.
packet
,
"BBCD
\x00
"
,
5
)
)
||
(
oggpacket
.
bytes
>=
9
&&
(
oggpacket
.
bytes
>=
9
&&
!
memcmp
(
oggpacket
.
packet
,
"KW-DIRAC
\x00
"
,
9
)
)
)
!
memcmp
(
oggpacket
.
packet
,
"KW-DIRAC
\x00
"
,
9
)
)
)
{
{
if
(
Ogg_ReadDiracHeader
(
p_stream
,
&
oggpacket
)
)
if
(
Ogg_ReadDiracHeader
(
p_stream
,
&
oggpacket
)
)
msg_Dbg
(
p_demux
,
"found dirac header"
);
msg_Dbg
(
p_demux
,
"found dirac header"
);
else
else
{
{
msg_Warn
(
p_demux
,
"found dirac header isn't decodable"
);
msg_Warn
(
p_demux
,
"found dirac header isn't decodable"
);
...
...
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