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
04b82589
Commit
04b82589
authored
Jul 18, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation
parent
daddd71a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
include/vlc_es.h
include/vlc_es.h
+10
-6
No files found.
include/vlc_es.h
View file @
04b82589
...
...
@@ -142,6 +142,13 @@ struct subs_format_t
/**
* ES definition
*/
typedef
struct
extra_languages_t
{
char
*
psz_language
;
char
*
psz_description
;
}
extra_languages_t
;
struct
es_format_t
{
int
i_cat
;
...
...
@@ -160,11 +167,8 @@ struct es_format_t
char
*
psz_language
;
char
*
psz_description
;
int
i_extra_languages
;
struct
{
char
*
psz_language
;
char
*
psz_description
;
}
*
p_extra_languages
;
extra_languages_t
*
p_extra_languages
;
audio_format_t
audio
;
video_format_t
video
;
subs_format_t
subs
;
...
...
@@ -241,7 +245,7 @@ static inline void es_format_Copy( es_format_t *dst, es_format_t *src )
}
dst
->
i_extra_languages
=
src
->
i_extra_languages
;
dst
->
p_extra_languages
=
malloc
(
dst
->
i_extra_languages
*
sizeof
(
*
dst
->
p_extra_languages
)
);
dst
->
p_extra_languages
=
(
extra_languages_t
*
)
malloc
(
dst
->
i_extra_languages
*
sizeof
(
*
dst
->
p_extra_languages
)
);
for
(
i
=
0
;
i
<
dst
->
i_extra_languages
;
i
++
)
{
if
(
src
->
p_extra_languages
[
i
].
psz_language
)
dst
->
p_extra_languages
[
i
].
psz_language
=
strdup
(
src
->
p_extra_languages
[
i
].
psz_language
);
...
...
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