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
4d38b838
Commit
4d38b838
authored
Aug 02, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flacdec: switch to av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
32aeba12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
flacdec.c
libavcodec/flacdec.c
+2
-4
No files found.
libavcodec/flacdec.c
View file @
4d38b838
...
...
@@ -34,6 +34,7 @@
#include <limits.h>
#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
#include "libavutil/crc.h"
#include "avcodec.h"
#include "internal.h"
...
...
@@ -44,9 +45,6 @@
#include "flacdata.h"
#include "flacdsp.h"
#undef NDEBUG
#include <assert.h>
typedef
struct
FLACContext
{
FLACSTREAMINFO
...
...
@@ -141,7 +139,7 @@ static void allocate_buffers(FLACContext *s)
{
int
i
;
a
ssert
(
s
->
max_blocksize
);
a
v_assert0
(
s
->
max_blocksize
);
for
(
i
=
0
;
i
<
s
->
channels
;
i
++
)
{
s
->
decoded
[
i
]
=
av_malloc
(
sizeof
(
int32_t
)
*
s
->
max_blocksize
);
...
...
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