vlc | branch: master | Steve Lhomme <[email protected]> | 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;
         }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to