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
72a9e646
Commit
72a9e646
authored
Jul 23, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libschroedingerenc: switch to av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
62514ca0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
libschroedingerenc.c
libavcodec/libschroedingerenc.c
+3
-5
No files found.
libavcodec/libschroedingerenc.c
View file @
72a9e646
...
...
@@ -27,13 +27,11 @@
* (http://dirac.sourceforge.net/specification.html).
*/
#undef NDEBUG
#include <assert.h>
#include <schroedinger/schro.h>
#include <schroedinger/schrodebug.h>
#include <schroedinger/schrovideoformat.h>
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "internal.h"
#include "libschroedinger.h"
...
...
@@ -305,8 +303,8 @@ static int libschroedinger_encode_frame(AVCodecContext *avccontext, AVPacket *pk
case
SCHRO_STATE_HAVE_BUFFER
:
case
SCHRO_STATE_END_OF_STREAM
:
enc_buf
=
schro_encoder_pull
(
encoder
,
&
presentation_frame
);
a
ssert
(
enc_buf
->
length
>
0
);
a
ssert
(
enc_buf
->
length
<=
buf_size
);
a
v_assert0
(
enc_buf
->
length
>
0
);
a
v_assert0
(
enc_buf
->
length
<=
buf_size
);
parse_code
=
enc_buf
->
data
[
4
];
/* All non-frame data is prepended to actual frame data to
...
...
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