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
4a6b8289
Commit
4a6b8289
authored
Jul 15, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mips/mpegvideo_mmi: Use av_assert2()
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
95418634
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mpegvideo_mmi.c
libavcodec/mips/mpegvideo_mmi.c
+4
-4
No files found.
libavcodec/mips/mpegvideo_mmi.c
View file @
4a6b8289
...
...
@@ -30,7 +30,7 @@ void ff_dct_unquantize_h263_intra_mmi(MpegEncContext *s, int16_t *block,
int64_t
level
,
qmul
,
qadd
,
nCoeffs
;
qmul
=
qscale
<<
1
;
a
ssert
(
s
->
block_last_index
[
n
]
>=
0
||
s
->
h263_aic
);
a
v_assert2
(
s
->
block_last_index
[
n
]
>=
0
||
s
->
h263_aic
);
if
(
!
s
->
h263_aic
)
{
if
(
n
<
4
)
...
...
@@ -103,7 +103,7 @@ void ff_dct_unquantize_h263_inter_mmi(MpegEncContext *s, int16_t *block,
qmul
=
qscale
<<
1
;
qadd
=
(
qscale
-
1
)
|
1
;
a
ssert
(
s
->
block_last_index
[
n
]
>=
0
||
s
->
h263_aic
);
a
v_assert2
(
s
->
block_last_index
[
n
]
>=
0
||
s
->
h263_aic
);
nCoeffs
=
s
->
inter_scantable
.
raster_end
[
s
->
block_last_index
[
n
]];
__asm__
volatile
(
...
...
@@ -159,7 +159,7 @@ void ff_dct_unquantize_mpeg1_intra_mmi(MpegEncContext *s, int16_t *block,
const
uint16_t
*
quant_matrix
;
int
block0
;
a
ssert
(
s
->
block_last_index
[
n
]
>=
0
);
a
v_assert2
(
s
->
block_last_index
[
n
]
>=
0
);
nCoeffs
=
s
->
intra_scantable
.
raster_end
[
s
->
block_last_index
[
n
]]
+
1
;
if
(
n
<
4
)
...
...
@@ -236,7 +236,7 @@ void ff_dct_unquantize_mpeg1_inter_mmi(MpegEncContext *s, int16_t *block,
int64_t
nCoeffs
;
const
uint16_t
*
quant_matrix
;
a
ssert
(
s
->
block_last_index
[
n
]
>=
0
);
a
v_assert2
(
s
->
block_last_index
[
n
]
>=
0
);
nCoeffs
=
s
->
intra_scantable
.
raster_end
[
s
->
block_last_index
[
n
]]
+
1
;
quant_matrix
=
s
->
inter_matrix
;
...
...
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