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
0eb31980
Commit
0eb31980
authored
Nov 15, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/movtextdec: Add error message for tsmb_size check
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
a6099057
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
movtextdec.c
libavcodec/movtextdec.c
+1
-0
No files found.
libavcodec/movtextdec.c
View file @
0eb31980
...
@@ -482,6 +482,7 @@ static int mov_text_decode_frame(AVCodecContext *avctx,
...
@@ -482,6 +482,7 @@ static int mov_text_decode_frame(AVCodecContext *avctx,
//size_var is equal to 8 or 16 depending on the size of box
//size_var is equal to 8 or 16 depending on the size of box
if
(
tsmb_size
==
0
)
{
if
(
tsmb_size
==
0
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"tsmb_size is 0
\n
"
);
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
}
}
...
...
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