vlc | branch: master | Hugo Beauzée-Luyssen <h...@beauzee.fr> | Fri Sep 16 
13:39:57 2016 +0200| [0e4d5df548b0bc579a804cc0e8452bd624d1a37a] | committer: 
Hugo Beauzée-Luyssen

copy: Fix invalid array size

fix cid #1362075 & #28501530

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

 modules/video_chroma/copy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/copy.c b/modules/video_chroma/copy.c
index a0b1de5..6ec6be5 100644
--- a/modules/video_chroma/copy.c
+++ b/modules/video_chroma/copy.c
@@ -370,7 +370,7 @@ static void SSE_CopyFromNv12ToNv12(picture_t *dst,
 }
 
 static void SSE_CopyFromI420ToNv12(picture_t *dst,
-                             uint8_t *src[2], size_t src_pitch[2],
+                             uint8_t *src[3], size_t src_pitch[3],
                              unsigned height,
                              copy_cache_t *cache, unsigned cpu)
 {

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to