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
1e126560
Commit
1e126560
authored
Jul 23, 2018
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/av1: return an error when no data is provided to ff_isom_write_av1c()
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
4e937b1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
av1.c
libavformat/av1.c
+3
-0
No files found.
libavformat/av1.c
View file @
1e126560
...
...
@@ -82,6 +82,9 @@ int ff_isom_write_av1c(AVIOContext *pb, const uint8_t *buf, int size)
int64_t
obu_size
;
int
start_pos
,
type
,
temporal_id
,
spatial_id
;
if
(
size
<=
0
)
return
AVERROR_INVALIDDATA
;
while
(
size
>
0
)
{
int
ret
=
parse_obu_header
(
buf
,
size
,
&
obu_size
,
&
start_pos
,
&
type
,
&
temporal_id
,
&
spatial_id
);
...
...
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