diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-12-02 20:08:17 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-12-02 20:08:17 +0400 |
commit | ddd87236f0ebf4680a3d2ea530224577fe0683d2 (patch) | |
tree | eb494af65bd7bc596ba4ef415712bf4cf205d4e1 | |
parent | bd465fdc7359b4eceebde6b6f2b4e30b995cc997 (diff) |
lavfi/vf_super2xsai: fix output ref size.
-rw-r--r-- | libavfilter/vf_super2xsai.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_super2xsai.c b/libavfilter/vf_super2xsai.c index 380cd3215e..e2db3b43db 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], |