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
This commit is contained in:
parent
712048daf5
commit
552c020875
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user