Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1e4d6035
Commit
1e4d6035
authored
Oct 11, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc1: disable parts of the interlaced code due to security issues.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
41f55277
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vc1.c
libavcodec/vc1.c
+4
-0
No files found.
libavcodec/vc1.c
View file @
1e4d6035
...
...
@@ -985,6 +985,8 @@ int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
break
;
case
AV_PICTURE_TYPE_P
:
if
(
v
->
field_mode
)
{
av_log
(
v
->
s
.
avctx
,
AV_LOG_ERROR
,
"P Fields do not work currently
\n
"
);
return
-
1
;
v
->
numref
=
get_bits1
(
gb
);
if
(
!
v
->
numref
)
{
v
->
reffield
=
get_bits1
(
gb
);
...
...
@@ -1157,6 +1159,8 @@ int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
if
(
v
->
field_mode
)
{
int
mvmode
;
av_log
(
v
->
s
.
avctx
,
AV_LOG_ERROR
,
"B Fields do not work currently
\n
"
);
return
-
1
;
if
(
v
->
extended_dmv
)
v
->
dmvrange
=
get_unary
(
gb
,
0
,
3
);
mvmode
=
get_unary
(
gb
,
1
,
3
);
...
...
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