[vlc-commits] i420_rgb: only handle visible pixels

Steve Lhomme git at videolan.org
Tue Mar 8 17:52:10 CET 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Tue Mar  8 16:45:20 2016 +0100| [e29200cb8858f69d08fc2a9d9929aa309afb164d] | committer: Jean-Baptiste Kempf

i420_rgb: only handle visible pixels

fixes a crash similar to #16686 when an RGB output is used instead of YUYV

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/video_chroma/i420_rgb.h       |   40 +++---
 modules/video_chroma/i420_rgb16.c     |   52 ++++----
 modules/video_chroma/i420_rgb16_x86.c |  216 +++++++++++++++++----------------
 modules/video_chroma/i420_rgb8.c      |   22 ++--
 4 files changed, 174 insertions(+), 156 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=e29200cb8858f69d08fc2a9d9929aa309afb164d


More information about the vlc-commits mailing list