Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
9e6c8437
Commit
9e6c8437
authored
6 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
avcodec/dvdsub_parser: Init output buf/size
No testcase Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
8d21ab4d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/dvdsub_parser.c
+3
-0
3 additions, 0 deletions
libavcodec/dvdsub_parser.c
with
3 additions
and
0 deletions
libavcodec/dvdsub_parser.c
+
3
−
0
View file @
9e6c8437
...
...
@@ -44,6 +44,9 @@ static int dvdsub_parse(AVCodecParserContext *s,
{
DVDSubParseContext
*
pc
=
s
->
priv_data
;
*
poutbuf
=
buf
;
*
poutbuf_size
=
buf_size
;
if
(
pc
->
packet_index
==
0
)
{
if
(
buf_size
<
2
||
AV_RB16
(
buf
)
&&
buf_size
<
6
)
{
if
(
buf_size
)
...
...
This diff is collapsed.
Click to expand it.
Auri
@aurieh
mentioned in commit
40ed4090
·
6 years ago
mentioned in commit
40ed4090
mentioned in commit 40ed40902ade1fa6294e12d853cf06f30f85b8cb
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment