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
781195fa
Commit
781195fa
authored
Mar 04, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_sofalizer: check if filename was set.
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
fb2f1645
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
af_sofalizer.c
libavfilter/af_sofalizer.c
+5
-0
No files found.
libavfilter/af_sofalizer.c
View file @
781195fa
...
@@ -937,6 +937,11 @@ static av_cold int init(AVFilterContext *ctx)
...
@@ -937,6 +937,11 @@ static av_cold int init(AVFilterContext *ctx)
SOFAlizerContext
*
s
=
ctx
->
priv
;
SOFAlizerContext
*
s
=
ctx
->
priv
;
int
ret
;
int
ret
;
if
(
!
s
->
filename
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Valid SOFA filename must be set.
\n
"
);
return
AVERROR
(
EINVAL
);
}
/* load SOFA file, */
/* load SOFA file, */
/* initialize file IDs to 0 before attempting to load SOFA files,
/* initialize file IDs to 0 before attempting to load SOFA files,
* this assures that in case of error, only the memory of already
* this assures that in case of error, only the memory of already
...
...
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