[vlc-commits] [Git][videolan/vlc][master] demux/mp4: don't set a mask on VLC_CODEC_ARGB

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Sep 7 10:41:07 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
093ea229 by Steve Lhomme at 2023-09-07T10:28:49+00:00
demux/mp4: don't set a mask on VLC_CODEC_ARGB

It doesn't have/need one.

- - - - -


1 changed file:

- modules/demux/mp4/essetup.c


Changes:

=====================================
modules/demux/mp4/essetup.c
=====================================
@@ -425,9 +425,9 @@ int SetupVideoES( demux_t *p_demux, const mp4_track_t *p_track, const MP4_Box_t
             break;
         case VLC_FOURCC('A','B','G','R'):
             p_fmt->i_codec = VLC_CODEC_ARGB;
-            p_fmt->video.i_rmask = 0x0000FF;
-            p_fmt->video.i_gmask = 0x00FF00;
-            p_fmt->video.i_bmask = 0xFF0000;
+            p_fmt->video.i_rmask = 0;
+            p_fmt->video.i_gmask = 0;
+            p_fmt->video.i_bmask = 0;
             break;
         case VLC_FOURCC('2','4','B','G'):
             p_fmt->i_codec = VLC_CODEC_RGB24;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/093ea229696d7206b7dbea1bb7083333786eb852

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/093ea229696d7206b7dbea1bb7083333786eb852
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list