[vlc-commits] image: remove redundant p_fmt_out copy

Steve Lhomme git at videolan.org
Thu Feb 7 13:40:20 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Feb  7 11:18:39 2019 +0100| [cd2f580059ea74ce4571496e3245d141c245e6a0] | committer: Steve Lhomme

image: remove redundant p_fmt_out copy

It has already been filled and guaranteed that it's what the converter will use

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cd2f580059ea74ce4571496e3245d141c245e6a0
---

 src/misc/image.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/misc/image.c b/src/misc/image.c
index df4d8b3d48..d174949119 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -260,9 +260,6 @@ static picture_t *ImageRead( image_handler_t *p_image, block_t *p_block,
         }
 
         p_pic = p_image->p_converter->pf_video_filter( p_image->p_converter, p_pic );
-
-        video_format_Clean( p_fmt_out );
-        video_format_Copy( p_fmt_out, &p_image->p_converter->fmt_out.video );
     }
     else
     {



More information about the vlc-commits mailing list