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
da42f569
Commit
da42f569
authored
Jun 18, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asv1: switch to av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b90f83e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
asv1.c
libavcodec/asv1.c
+1
-4
No files found.
libavcodec/asv1.c
View file @
da42f569
...
...
@@ -31,9 +31,6 @@
#include "dsputil.h"
#include "mpeg12data.h"
//#undef NDEBUG
//#include <assert.h>
#define VLC_BITS 6
#define ASV2_LEVEL_VLC_BITS 10
...
...
@@ -294,7 +291,7 @@ static inline void asv2_encode_block(ASV1Context *a, DCTELEM block[64]){
if
(
(
block
[
index
+
1
]
=
(
block
[
index
+
1
]
*
a
->
q_intra_matrix
[
index
+
1
]
+
(
1
<<
15
))
>>
16
)
)
ccp
|=
2
;
if
(
(
block
[
index
+
9
]
=
(
block
[
index
+
9
]
*
a
->
q_intra_matrix
[
index
+
9
]
+
(
1
<<
15
))
>>
16
)
)
ccp
|=
1
;
a
ssert
(
i
||
ccp
<
8
);
a
v_assert2
(
i
||
ccp
<
8
);
if
(
i
)
put_bits
(
&
a
->
pb
,
ac_ccp_tab
[
ccp
][
1
],
ac_ccp_tab
[
ccp
][
0
]);
else
put_bits
(
&
a
->
pb
,
dc_ccp_tab
[
ccp
][
1
],
dc_ccp_tab
[
ccp
][
0
]);
...
...
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