[vlc-commits] i420_rgb: only handle visible pixels

Steve Lhomme git at videolan.org
Wed Mar 9 13:23:25 CET 2016


vlc/vlc-2.2 | branch: master | Steve Lhomme <robux4 at videolabs.io> | Tue Mar  8 16:45:20 2016 +0100| [d67b8d8316c893b0401c45d0e00cd59489c841e2] | 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>
(cherry picked from commit e29200cb8858f69d08fc2a9d9929aa309afb164d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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/vlc-2.2.git/?a=commitdiff;h=d67b8d8316c893b0401c45d0e00cd59489c841e2


More information about the vlc-commits mailing list