[vlc-commits] image: fix probable typo

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


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Feb  7 11:30:36 2019 +0100| [91f9087d4c85b4d4e720f006a170d288cb730ff4] | committer: Steve Lhomme

image: fix probable typo

The fmt_out would be set twice to a different value and the fmt_in is not
updated and it should probably be p_fmt_in.

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

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

diff --git a/src/misc/image.c b/src/misc/image.c
index 8767c97cc1..a7f591157d 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -419,7 +419,7 @@ static block_t *ImageWrite( image_handler_t *p_image, picture_t *p_pic,
         else
         {
             /* Filters should handle on-the-fly size changes */
-            p_image->p_converter->fmt_out.video = *p_fmt_in;
+            p_image->p_converter->fmt_in.video = *p_fmt_in;
             p_image->p_converter->fmt_out.video = p_image->p_enc->fmt_in.video;
         }
 



More information about the vlc-commits mailing list