[vlc-commits] image: don't overwrite the converter es_format

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


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Feb  7 13:06:35 2019 +0100| [2831482b2f4e5c1c6588487b8d3279bcace50ab7] | committer: Steve Lhomme

image: don't overwrite the converter es_format

Only the video format can potentially changed as done on the next line.

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

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

diff --git a/src/misc/image.c b/src/misc/image.c
index 35bdfb6e94..df4d8b3d48 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -256,7 +256,6 @@ static picture_t *ImageRead( image_handler_t *p_image, block_t *p_block,
         {
             /* Filters should handle on-the-fly size changes */
             p_image->p_converter->fmt_in = p_image->p_dec->fmt_out;
-            p_image->p_converter->fmt_out = p_image->p_dec->fmt_out;
             p_image->p_converter->fmt_out.video = *p_fmt_out;
         }
 



More information about the vlc-commits mailing list