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
afd9e705
Commit
afd9e705
authored
Oct 27, 2012
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: check for buffersink_params allocation success
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
abd49a75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ffplay.c
ffplay.c
+3
-0
No files found.
ffplay.c
View file @
afd9e705
...
...
@@ -1698,6 +1698,9 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
AVFilterContext
*
filt_src
=
NULL
,
*
filt_out
=
NULL
,
*
filt_format
,
*
filt_crop
;
AVCodecContext
*
codec
=
is
->
video_st
->
codec
;
if
(
!
buffersink_params
)
return
AVERROR
(
ENOMEM
);
snprintf
(
sws_flags_str
,
sizeof
(
sws_flags_str
),
"flags=%d"
,
sws_flags
);
graph
->
scale_sws_opts
=
av_strdup
(
sws_flags_str
);
...
...
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