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
a7b8a6e7
Commit
a7b8a6e7
authored
Mar 17, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/error_resilience: remove unneeded and disabled code
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
5694b282
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
18 deletions
+3
-18
error_resilience.c
libavcodec/error_resilience.c
+3
-18
No files found.
libavcodec/error_resilience.c
View file @
a7b8a6e7
...
...
@@ -582,24 +582,9 @@ skip_mean_and_median:
/* zero MV */
pred_count
++
;
if
(
!
fixed
[
mb_xy
]
&&
0
)
{
if
(
s
->
avctx
->
codec_id
==
AV_CODEC_ID_H264
)
{
// FIXME
}
else
{
ff_thread_await_progress
(
s
->
last_pic
.
tf
,
mb_y
,
0
);
}
if
(
!
s
->
last_pic
.
motion_val
[
0
]
||
!
s
->
last_pic
.
ref_index
[
0
])
goto
skip_last_mv
;
prev_x
=
s
->
last_pic
.
motion_val
[
0
][
mot_index
][
0
];
prev_y
=
s
->
last_pic
.
motion_val
[
0
][
mot_index
][
1
];
prev_ref
=
s
->
last_pic
.
ref_index
[
0
][
4
*
mb_xy
];
}
else
{
prev_x
=
s
->
cur_pic
.
motion_val
[
0
][
mot_index
][
0
];
prev_y
=
s
->
cur_pic
.
motion_val
[
0
][
mot_index
][
1
];
prev_ref
=
s
->
cur_pic
.
ref_index
[
0
][
4
*
mb_xy
];
}
prev_x
=
s
->
cur_pic
.
motion_val
[
0
][
mot_index
][
0
];
prev_y
=
s
->
cur_pic
.
motion_val
[
0
][
mot_index
][
1
];
prev_ref
=
s
->
cur_pic
.
ref_index
[
0
][
4
*
mb_xy
];
/* last MV */
mv_predictor
[
pred_count
][
0
]
=
prev_x
;
...
...
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