Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
5085f25a
Commit
5085f25a
authored
Jan 28, 2018
by
Sean McGovern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc1: skip motion compensation when data for last picture is invalid
Bug-Id: 1101 Cc: libav-stable@libav.org
parent
6829a079
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vc1_mc.c
libavcodec/vc1_mc.c
+5
-0
No files found.
libavcodec/vc1_mc.c
View file @
5085f25a
...
...
@@ -689,6 +689,11 @@ void ff_vc1_mc_4mv_chroma4(VC1Context *v, int dir, int dir2, int avg)
if
(
s
->
avctx
->
flags
&
AV_CODEC_FLAG_GRAY
)
return
;
if
(
!
s
->
last_picture
.
f
->
data
[
1
])
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Bad data in last picture frame.
\n
"
);
return
;
}
for
(
i
=
0
;
i
<
4
;
i
++
)
{
int
d
=
i
<
2
?
dir
:
dir2
;
tx
=
s
->
mv
[
d
][
i
][
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