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
2dfd0f4b
Commit
2dfd0f4b
authored
Aug 03, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/webm_chunk: Print an error if no header filename was provided.
parent
a6a453cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
webm_chunk.c
libavformat/webm_chunk.c
+1
-0
No files found.
libavformat/webm_chunk.c
View file @
2dfd0f4b
...
@@ -92,6 +92,7 @@ static int get_chunk_filename(AVFormatContext *s, int is_header, char *filename)
...
@@ -92,6 +92,7 @@ static int get_chunk_filename(AVFormatContext *s, int is_header, char *filename)
}
}
if
(
is_header
)
{
if
(
is_header
)
{
if
(
!
wc
->
header_filename
)
{
if
(
!
wc
->
header_filename
)
{
av_log
(
oc
,
AV_LOG_ERROR
,
"No header filename provided
\n
"
);
return
AVERROR
(
EINVAL
);
return
AVERROR
(
EINVAL
);
}
}
av_strlcpy
(
filename
,
wc
->
header_filename
,
strlen
(
wc
->
header_filename
)
+
1
);
av_strlcpy
(
filename
,
wc
->
header_filename
,
strlen
(
wc
->
header_filename
)
+
1
);
...
...
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