[FFmpeg-devel] [PATCH] lavfi/vf_super2xsai: fix output ref size.

Clément Bœsch ubitux at gmail.com
Sun Dec 2 17:20:46 CET 2012


On Sun, Dec 02, 2012 at 05:10:43PM +0100, Nicolas George wrote:
> 
> 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],

LGTM

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121202/537bb21a/attachment.asc>


More information about the ffmpeg-devel mailing list