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
bbd7b46b
Commit
bbd7b46b
authored
Nov 04, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sab_diamond_search: add assert to double check the minima_count
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
617d0d41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
motion_est_template.c
libavcodec/motion_est_template.c
+2
-0
No files found.
libavcodec/motion_est_template.c
View file @
bbd7b46b
...
...
@@ -688,6 +688,8 @@ static int sab_diamond_search(MpegEncContext * s, int *best, int dmin,
LOAD_COMMON2
unsigned
map_generation
=
c
->
map_generation
;
av_assert1
(
minima_count
<=
MAX_SAB_SIZE
);
cmpf
=
s
->
dsp
.
me_cmp
[
size
];
chroma_cmpf
=
s
->
dsp
.
me_cmp
[
size
+
1
];
...
...
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