Commit 552c0208 authored by Vitor Sessak's avatar Vitor Sessak

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
parent 712048da
...@@ -77,8 +77,10 @@ void avfilter_default_end_frame(AVFilterLink *link) ...@@ -77,8 +77,10 @@ void avfilter_default_end_frame(AVFilterLink *link)
link->cur_pic = NULL; link->cur_pic = NULL;
if(out) { if(out) {
if(out->outpic) {
avfilter_unref_pic(out->outpic); avfilter_unref_pic(out->outpic);
out->outpic = NULL; out->outpic = NULL;
}
avfilter_end_frame(out); avfilter_end_frame(out);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment