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
53705ef1
Commit
53705ef1
authored
Nov 18, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved ogm support + fix typo.
parent
8833f144
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/demux/ogg.c
modules/demux/ogg.c
+8
-1
No files found.
modules/demux/ogg.c
View file @
53705ef1
...
...
@@ -1341,7 +1341,14 @@ static int Ogg_BeginningOfStream( demux_t *p_demux )
}
if
(
!
p_stream
->
p_es
)
{
/* Better be safe than sorry when possible with ogm */
if
(
p_stream
->
fmt
.
i_codec
==
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'a'
)
||
p_stream
->
fmt
.
i_codec
==
VLC_FOURCC
(
'a'
,
'5'
,
'2'
,
' '
)
)
p_stream
->
fmt
.
b_packetized
=
false
;
p_stream
->
p_es
=
es_out_Add
(
p_demux
->
out
,
&
p_stream
->
fmt
);
}
// TODO: something to do here ?
if
(
p_stream
->
fmt
.
i_codec
==
VLC_FOURCC
(
'c'
,
'm'
,
'm'
,
'l'
)
)
...
...
@@ -1830,7 +1837,7 @@ static void Ogg_ReadDiracHeader( logical_stream_t *p_stream,
if
(
dirac_bool
(
&
bs
)
)
{
uint32_t
u_frame_rate_index
=
dirac_uint
(
&
bs
);
if
(
u_frame_rate_index
>
u_dirac_frate_tbl
)
if
(
u_frame_rate_index
>
=
u_dirac_frate_tbl
)
u_frame_rate_index
=
0
;
u_n
=
p_dirac_frate_tbl
[
u_frame_rate_index
].
u_n
;
u_d
=
p_dirac_frate_tbl
[
u_frame_rate_index
].
u_d
;
...
...
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