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
ffmpeg: Free last_frame instead of just unref
Fixes Ticket4611 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer
10 years ago
parent
08326e73a2
commit
d1050d9950
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
ffmpeg.c
+ 2
- 0
ffmpeg.c
View File
@@ -1178,6 +1178,8 @@ static void do_video_out(AVFormatContext *s,
av_frame_unref(ost->last_frame);
if (next_picture)
av_frame_ref(ost->last_frame, next_picture);
else
av_frame_free(&ost->last_frame);
}
static double psnr(double d)
Write
Preview
Loading…
Cancel
Save