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
7925f923
Commit
7925f923
authored
Jun 11, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4xm: use av_assert()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3827a86e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
4xm.c
libavcodec/4xm.c
+3
-4
No files found.
libavcodec/4xm.c
View file @
7925f923
...
@@ -30,8 +30,7 @@
...
@@ -30,8 +30,7 @@
#include "dsputil.h"
#include "dsputil.h"
#include "get_bits.h"
#include "get_bits.h"
//#undef NDEBUG
#include "libavutil/avassert.h"
//#include <assert.h>
#define BLOCK_TYPE_VLC_BITS 5
#define BLOCK_TYPE_VLC_BITS 5
#define ACDC_VLC_BITS 9
#define ACDC_VLC_BITS 9
...
@@ -328,7 +327,7 @@ static inline void mcdc(uint16_t *dst, const uint16_t *src, int log2w,
...
@@ -328,7 +327,7 @@ static inline void mcdc(uint16_t *dst, const uint16_t *src, int log2w,
}
}
break
;
break
;
default:
default:
a
ssert
(
0
);
a
v_assert2
(
0
);
}
}
}
}
...
@@ -343,7 +342,7 @@ static void decode_p_block(FourXContext *f, uint16_t *dst, uint16_t *src,
...
@@ -343,7 +342,7 @@ static void decode_p_block(FourXContext *f, uint16_t *dst, uint16_t *src,
uint16_t
*
start
=
(
uint16_t
*
)
f
->
last_picture
.
data
[
0
];
uint16_t
*
start
=
(
uint16_t
*
)
f
->
last_picture
.
data
[
0
];
uint16_t
*
end
=
start
+
stride
*
(
f
->
avctx
->
height
-
h
+
1
)
-
(
1
<<
log2w
);
uint16_t
*
end
=
start
+
stride
*
(
f
->
avctx
->
height
-
h
+
1
)
-
(
1
<<
log2w
);
a
ssert
(
code
>=
0
&&
code
<=
6
);
a
v_assert2
(
code
>=
0
&&
code
<=
6
);
if
(
code
==
0
)
{
if
(
code
==
0
)
{
if
(
f
->
g
.
buffer_end
-
f
->
g
.
buffer
<
1
)
{
if
(
f
->
g
.
buffer_end
-
f
->
g
.
buffer
<
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