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
4bcde261
Commit
4bcde261
authored
Jun 09, 2017
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/dvbsubdec: Use av_image_check_size2()
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
93db5e3f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dvbsubdec.c
libavcodec/dvbsubdec.c
+1
-1
No files found.
libavcodec/dvbsubdec.c
View file @
4bcde261
...
...
@@ -1157,7 +1157,7 @@ static int dvbsub_parse_region_segment(AVCodecContext *avctx,
region
->
height
=
AV_RB16
(
buf
);
buf
+=
2
;
ret
=
av_image_check_size
(
region
->
width
,
region
->
height
,
0
,
avctx
);
ret
=
av_image_check_size
2
(
region
->
width
,
region
->
height
,
avctx
->
max_pixels
,
AV_PIX_FMT_PAL8
,
0
,
avctx
);
if
(
ret
<
0
)
{
region
->
width
=
region
->
height
=
0
;
return
ret
;
...
...
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