This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/vf_ciescope: Free out AVFrame on error
Fixes memleak Fixes part of CID1197065 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Michael Niedermayer
9 years ago
parent
c331be21c4
commit
3edbc2408b
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
libavfilter/vf_ciescope.c
+ 3
- 1
libavfilter/vf_ciescope.c
View File
@@ -1369,8 +1369,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
if (!s->background) {
ret = draw_background(ctx);
if (ret < 0)
if (ret < 0) {
av_frame_free(&out);
return ret;
}
s->background = 1;
}
for (y = 0; y < outlink->h; y++) {
Write
Preview
Loading…
Cancel
Save