diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 21:59:41 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 21:59:41 +0000 |
commit | 552c0208759c2908022771cb90a21d72dbcf4c20 (patch) | |
tree | 73b9f9857faf472b2cb82e7f02632a32dc454242 /libavfilter/defaults.c | |
parent | 712048daf5078846d705ac158c12a8b916b27f5f (diff) | |
download | ffmpeg-552c0208759c2908022771cb90a21d72dbcf4c20.tar.gz |
Make default end_frame() implementation more useful.
Commited in SoC by Bobby Bingham on 2007-08-17 16:45:47
Originally committed as revision 12066 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r-- | libavfilter/defaults.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index e50543b148..ca7a42bbb3 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -77,8 +77,10 @@ void avfilter_default_end_frame(AVFilterLink *link) link->cur_pic = NULL; if(out) { + if(out->outpic) { avfilter_unref_pic(out->outpic); out->outpic = NULL; + } avfilter_end_frame(out); } } |