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
1dcc6e6f
Commit
1dcc6e6f
authored
Apr 10, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MP4: code cosmetics
parent
a5e1acf9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+2
-2
No files found.
modules/demux/mp4/mp4.c
View file @
1dcc6e6f
...
...
@@ -2312,7 +2312,6 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
MP4_Box_t
*
p_vmhd
;
MP4_Box_t
*
p_smhd
;
unsigned
int
i
;
char
language
[
4
];
/* hint track unsupported */
...
...
@@ -2338,6 +2337,7 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
p_track
->
fmt
.
i_priority
=
-
1
;
p_track
->
i_track_ID
=
p_tkhd
->
data
.
p_tkhd
->
i_track_ID
;
p_track
->
i_width
=
p_tkhd
->
data
.
p_tkhd
->
i_width
/
65536
;
p_track
->
i_height
=
p_tkhd
->
data
.
p_tkhd
->
i_height
/
65536
;
p_track
->
f_rotation
=
p_tkhd
->
data
.
p_tkhd
->
f_rotation
;
...
...
@@ -2368,7 +2368,7 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
}
else
{
for
(
i
=
0
;
i
<
3
;
i
++
)
for
(
unsigned
i
=
0
;
i
<
3
;
i
++
)
language
[
i
]
=
p_mdhd
->
data
.
p_mdhd
->
i_language
[
i
];
language
[
3
]
=
'\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