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
49e9d64f
Commit
49e9d64f
authored
Feb 20, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed theora/speex workaround (avformat).
parent
aad46ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/demux/avformat/demux.c
modules/demux/avformat/demux.c
+3
-2
No files found.
modules/demux/avformat/demux.c
View file @
49e9d64f
...
@@ -342,10 +342,11 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -342,10 +342,11 @@ int OpenDemux( vlc_object_t *p_this )
if
(
cc
->
codec_type
!=
CODEC_TYPE_ATTACHMENT
)
if
(
cc
->
codec_type
!=
CODEC_TYPE_ATTACHMENT
)
#endif
#endif
{
{
const
bool
b_ogg
=
!
strcmp
(
p_sys
->
fmt
->
name
,
"ogg"
);
const
uint8_t
*
p_extra
=
cc
->
extradata
;
const
uint8_t
*
p_extra
=
cc
->
extradata
;
unsigned
i_extra
=
cc
->
extradata_size
;
unsigned
i_extra
=
cc
->
extradata_size
;
if
(
cc
->
codec_id
==
CODEC_ID_THEORA
)
if
(
cc
->
codec_id
==
CODEC_ID_THEORA
&&
b_ogg
)
{
{
unsigned
pi_size
[
3
];
unsigned
pi_size
[
3
];
void
*
pp_data
[
3
];
void
*
pp_data
[
3
];
...
@@ -369,7 +370,7 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -369,7 +370,7 @@ int OpenDemux( vlc_object_t *p_this )
fmt
.
p_extra
=
NULL
;
fmt
.
p_extra
=
NULL
;
}
}
}
}
else
if
(
cc
->
codec_id
==
CODEC_ID_SPEEX
)
else
if
(
cc
->
codec_id
==
CODEC_ID_SPEEX
&&
b_ogg
)
{
{
uint8_t
p_dummy_comment
[]
=
{
uint8_t
p_dummy_comment
[]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
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