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
6f270da6
Commit
6f270da6
authored
Nov 21, 2013
by
Alexandra Khirnova
Committed by
Anton Khirnov
Nov 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libschroedingerenc: do not assert on values from external libraries
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
7671dd7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
libschroedingerenc.c
libavcodec/libschroedingerenc.c
+2
-5
No files found.
libavcodec/libschroedingerenc.c
View file @
6f270da6
...
...
@@ -27,9 +27,6 @@
* (http://dirac.sourceforge.net/specification.html).
*/
#undef NDEBUG
#include <assert.h>
#include <schroedinger/schro.h>
#include <schroedinger/schrodebug.h>
#include <schroedinger/schrovideoformat.h>
...
...
@@ -301,8 +298,8 @@ static int libschroedinger_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
case
SCHRO_STATE_HAVE_BUFFER
:
case
SCHRO_STATE_END_OF_STREAM
:
enc_buf
=
schro_encoder_pull
(
encoder
,
&
presentation_frame
);
assert
(
enc_buf
->
length
>
0
);
assert
(
enc_buf
->
length
<=
buf_size
)
;
if
(
enc_buf
->
length
<=
0
)
return
AVERROR_BUG
;
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