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_mcdeint: free frame on error
Fixes CID1026766 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer
12 years ago
parent
3ed56b3b39
commit
43487bc5c1
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_mcdeint.c
+ 3
- 1
libavfilter/vf_mcdeint.c
View File
@@ -278,8 +278,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpic)
end:
av_free_packet(&pkt);
av_frame_free(&inpic);
if (ret < 0)
if (ret < 0) {
av_frame_free(&outpic);
return ret;
}
return ff_filter_frame(outlink, outpic);
}
Write
Preview
Loading…
Cancel
Save