[FFmpeg-devel] [PATCH] lavfi/vf_super2xsai: fix output ref size.
Nicolas George
nicolas.george at normalesup.org
Sun Dec 2 17:10:43 CET 2012
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
libavfilter/vf_super2xsai.c | 2 ++
1 file changed, 2 insertions(+)
Broken by fbc339f, detected by FATE (but not yet on the servers).
diff --git a/libavfilter/vf_super2xsai.c b/libavfilter/vf_super2xsai.c
index 380cd32..e2db3b4 100644
--- a/libavfilter/vf_super2xsai.c
+++ b/libavfilter/vf_super2xsai.c
@@ -312,6 +312,8 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
return AVERROR(ENOMEM);
}
avfilter_copy_buffer_ref_props(outpicref, inpicref);
+ outpicref->video->w = outlink->w;
+ outpicref->video->h = outlink->h;
super2xsai(inlink->dst, inpicref->data[0], inpicref->linesize[0],
outpicref->data[0], outpicref->linesize[0],
--
1.7.10.4
More information about the ffmpeg-devel
mailing list