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
31a0a842
Commit
31a0a842
authored
Oct 18, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/avidec: Be more verbose when ignoring very large tag size.
parent
2c1be03c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
avidec.c
libavformat/avidec.c
+5
-1
No files found.
libavformat/avidec.c
View file @
31a0a842
...
@@ -984,9 +984,13 @@ FF_ENABLE_DEPRECATION_WARNINGS
...
@@ -984,9 +984,13 @@ FF_ENABLE_DEPRECATION_WARNINGS
}
}
default:
default:
if
(
size
>
1000000
)
{
if
(
size
>
1000000
)
{
char
tag_buf
[
32
];
av_get_codec_tag_string
(
tag_buf
,
sizeof
(
tag_buf
),
tag
);
av_log
(
s
,
AV_LOG_ERROR
,
av_log
(
s
,
AV_LOG_ERROR
,
"Something went wrong during header parsing, "
"Something went wrong during header parsing, "
"I will ignore it and try to continue anyway.
\n
"
);
"tag %s has size %u, "
"I will ignore it and try to continue anyway.
\n
"
,
tag_buf
,
size
);
if
(
s
->
error_recognition
&
AV_EF_EXPLODE
)
if
(
s
->
error_recognition
&
AV_EF_EXPLODE
)
goto
fail
;
goto
fail
;
avi
->
movi_list
=
avio_tell
(
pb
)
-
4
;
avi
->
movi_list
=
avio_tell
(
pb
)
-
4
;
...
...
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