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
95179371
Commit
95179371
authored
Feb 07, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/hevc_filter: assert validity of qp predictor input
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9707b539
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
hevc_filter.c
libavcodec/hevc_filter.c
+3
-0
No files found.
libavcodec/hevc_filter.c
View file @
95179371
...
...
@@ -150,6 +150,9 @@ static int get_qPy_pred(HEVCContext *s, int xC, int yC,
else
qPy_b
=
s
->
qp_y_tab
[
x_cb
+
(
y_cb
-
1
)
*
min_cb_width
];
av_assert2
(
qPy_a
>=
-
s
->
sps
->
qp_bd_offset
&&
qPy_a
<
52
);
av_assert2
(
qPy_b
>=
-
s
->
sps
->
qp_bd_offset
&&
qPy_b
<
52
);
return
(
qPy_a
+
qPy_b
+
1
)
>>
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