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
717a1876
Commit
717a1876
authored
Aug 15, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
motion_est: switch some asserts to av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9e89bc37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
motion_est.c
libavcodec/motion_est.c
+3
-3
No files found.
libavcodec/motion_est.c
View file @
717a1876
...
...
@@ -1867,12 +1867,12 @@ void ff_fix_long_p_mvs(MpegEncContext * s)
MotionEstContext
*
const
c
=
&
s
->
me
;
const
int
f_code
=
s
->
f_code
;
int
y
,
range
;
a
ssert
(
s
->
pict_type
==
AV_PICTURE_TYPE_P
);
a
v_assert0
(
s
->
pict_type
==
AV_PICTURE_TYPE_P
);
range
=
(((
s
->
out_format
==
FMT_MPEG1
||
s
->
msmpeg4_version
)
?
8
:
16
)
<<
f_code
);
a
ssert
(
range
<=
16
||
!
s
->
msmpeg4_version
);
a
ssert
(
range
<=
256
||
!
(
s
->
codec_id
==
AV_CODEC_ID_MPEG2VIDEO
&&
s
->
avctx
->
strict_std_compliance
>=
FF_COMPLIANCE_NORMAL
));
a
v_assert0
(
range
<=
16
||
!
s
->
msmpeg4_version
);
a
v_assert0
(
range
<=
256
||
!
(
s
->
codec_id
==
AV_CODEC_ID_MPEG2VIDEO
&&
s
->
avctx
->
strict_std_compliance
>=
FF_COMPLIANCE_NORMAL
));
if
(
c
->
avctx
->
me_range
&&
range
>
c
->
avctx
->
me_range
)
range
=
c
->
avctx
->
me_range
;
...
...
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