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
a5ca3203
Commit
a5ca3203
authored
Jun 10, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rangecoder: use av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
1248de53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
rangecoder.c
libavcodec/rangecoder.c
+3
-2
No files found.
libavcodec/rangecoder.c
View file @
a5ca3203
...
...
@@ -33,6 +33,7 @@
#include <string.h>
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "rangecoder.h"
#include "bytestream.h"
...
...
@@ -103,8 +104,8 @@ int ff_rac_terminate(RangeCoder *c){
c
->
range
=
0xFF
;
renorm_encoder
(
c
);
a
ssert
(
c
->
low
==
0
);
a
ssert
(
c
->
range
>=
0x100
);
a
v_assert1
(
c
->
low
==
0
);
a
v_assert1
(
c
->
range
>=
0x100
);
return
c
->
bytestream
-
c
->
bytestream_start
;
}
...
...
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