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
ba1316be
Commit
ba1316be
authored
Apr 10, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MP4: be more picky wrt
VC-1
profiles we accept
Maybe it could work with
VC-1
Main, but no samples so far
parent
6c6beb62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+6
-0
No files found.
modules/demux/mp4/libmp4.c
View file @
ba1316be
...
...
@@ -1369,6 +1369,12 @@ static int MP4_ReadBox_dvc1( stream_t *p_stream, MP4_Box_t *p_box )
p_dvc1
=
p_box
->
data
.
p_dvc1
;
MP4_GET1BYTE
(
p_dvc1
->
i_profile_level
);
/* profile is on 4bits, level 3bits */
if
(
p_dvc1
->
i_profile_level
&
0xf0
>>
4
!=
0x06
)
{
msg_Warn
(
p_stream
,
"unsupported VC-1 profile, please report"
);
MP4_READBOX_EXIT
(
0
);
}
p_dvc1
->
i_vc1
=
p_box
->
i_size
-
7
;
/* Header + profile_level */
...
...
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