Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
92fcb9ec
Commit
92fcb9ec
authored
Feb 20, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics.
parent
49e9d64f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/demux/avformat/demux.c
modules/demux/avformat/demux.c
+5
-3
No files found.
modules/demux/avformat/demux.c
View file @
92fcb9ec
...
@@ -215,7 +215,9 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -215,7 +215,9 @@ int OpenDemux( vlc_object_t *p_this )
for
(
i
=
0
;
i
<
p_sys
->
ic
->
nb_streams
;
i
++
)
for
(
i
=
0
;
i
<
p_sys
->
ic
->
nb_streams
;
i
++
)
{
{
AVCodecContext
*
cc
=
p_sys
->
ic
->
streams
[
i
]
->
codec
;
AVStream
*
s
=
p_sys
->
ic
->
streams
[
i
];
AVCodecContext
*
cc
=
s
->
codec
;
es_out_id_t
*
es
;
es_out_id_t
*
es
;
es_format_t
fmt
;
es_format_t
fmt
;
vlc_fourcc_t
fcc
;
vlc_fourcc_t
fcc
;
...
@@ -321,7 +323,7 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -321,7 +323,7 @@ int OpenDemux( vlc_object_t *p_this )
psz_type
=
"attachment"
;
psz_type
=
"attachment"
;
if
(
cc
->
codec_id
==
CODEC_ID_TTF
)
if
(
cc
->
codec_id
==
CODEC_ID_TTF
)
{
{
p_attachment
=
vlc_input_attachment_New
(
p_sys
->
ic
->
streams
[
i
]
->
filename
,
"application/x-truetype-font"
,
NULL
,
p_attachment
=
vlc_input_attachment_New
(
s
->
filename
,
"application/x-truetype-font"
,
NULL
,
cc
->
extradata
,
(
int
)
cc
->
extradata_size
);
cc
->
extradata
,
(
int
)
cc
->
extradata_size
);
TAB_APPEND
(
p_sys
->
i_attachments
,
p_sys
->
attachments
,
p_attachment
);
TAB_APPEND
(
p_sys
->
i_attachments
,
p_sys
->
attachments
,
p_attachment
);
}
}
...
@@ -336,7 +338,7 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -336,7 +338,7 @@ int OpenDemux( vlc_object_t *p_this )
msg_Warn
(
p_demux
,
"unsupported track type in ffmpeg demux"
);
msg_Warn
(
p_demux
,
"unsupported track type in ffmpeg demux"
);
break
;
break
;
}
}
fmt
.
psz_language
=
strdup
(
p_sys
->
ic
->
streams
[
i
]
->
language
);
fmt
.
psz_language
=
strdup
(
s
->
language
);
#ifdef HAVE_FFMPEG_CODEC_ATTACHMENT
#ifdef HAVE_FFMPEG_CODEC_ATTACHMENT
if
(
cc
->
codec_type
!=
CODEC_TYPE_ATTACHMENT
)
if
(
cc
->
codec_type
!=
CODEC_TYPE_ATTACHMENT
)
...
...
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