Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
1778b48e
Commit
1778b48e
authored
Mar 06, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mp4: fixed SVQ3 in .mov
parent
3507f5bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
modules/mux/mp4.c
modules/mux/mp4.c
+23
-0
No files found.
modules/mux/mp4.c
View file @
1778b48e
...
@@ -341,6 +341,29 @@ static bo_t *GetSVQ3Tag( mp4_stream_t *p_stream )
...
@@ -341,6 +341,29 @@ static bo_t *GetSVQ3Tag( mp4_stream_t *p_stream )
{
{
bo_t
*
smi
=
box_new
(
"SMI "
);
bo_t
*
smi
=
box_new
(
"SMI "
);
if
(
p_stream
->
p_fmt
->
i_extra
>
0x4e
)
{
uint8_t
*
p_end
=
&
((
uint8_t
*
)
p_stream
->
p_fmt
->
p_extra
)[
p_stream
->
p_fmt
->
i_extra
];
uint8_t
*
p
=
&
((
uint8_t
*
)
p_stream
->
p_fmt
->
p_extra
)[
0x46
];
while
(
p
+
8
<
p_end
)
{
int
i_size
=
GetDWBE
(
p
);
if
(
i_size
<=
1
)
{
/* FIXME handle 1 as long size */
break
;
}
if
(
!
strncmp
(
&
p
[
4
],
"SMI "
,
4
)
)
{
bo_add_mem
(
smi
,
p_end
-
p
-
8
,
&
p
[
8
]
);
return
smi
;
}
p
+=
i_size
;
}
}
/* Create a dummy one in fallback */
bo_add_fourcc
(
smi
,
"SEQH"
);
bo_add_fourcc
(
smi
,
"SEQH"
);
bo_add_32be
(
smi
,
0x5
);
bo_add_32be
(
smi
,
0x5
);
bo_add_32be
(
smi
,
0xe2c0211d
);
bo_add_32be
(
smi
,
0xe2c0211d
);
...
...
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