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
39cc4c61
Commit
39cc4c61
authored
May 15, 2013
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flacdec: drop unnecessary assert
The condition cannot happen anymore.
parent
b25e49b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
flacdec.c
libavcodec/flacdec.c
+0
-5
No files found.
libavcodec/flacdec.c
View file @
39cc4c61
...
...
@@ -44,9 +44,6 @@
#include "flacdata.h"
#include "flacdsp.h"
#undef NDEBUG
#include <assert.h>
typedef
struct
FLACContext
{
FLACSTREAMINFO
...
...
@@ -130,8 +127,6 @@ static int allocate_buffers(FLACContext *s)
{
int
buf_size
;
assert
(
s
->
max_blocksize
);
buf_size
=
av_samples_get_buffer_size
(
NULL
,
s
->
channels
,
s
->
max_blocksize
,
AV_SAMPLE_FMT_S32P
,
0
);
if
(
buf_size
<
0
)
...
...
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