[vlc-commits] [Git][videolan/vlc][master] wasapi: remove Big Endian check

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Aug 24 09:28:24 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
6dbc6361 by Steve Lhomme at 2023-08-24T08:54:02+00:00
wasapi: remove Big Endian check

We don't support Big Endian on Windows.

- - - - -


1 changed file:

- modules/access/wasapi.c


Changes:

=====================================
modules/access/wasapi.c
=====================================
@@ -183,11 +183,7 @@ static int vlc_FromWave(const WAVEFORMATEX *restrict wf,
                         fmt->i_format = VLC_CODEC_S32N;
                         break;
                     case 24:
-#ifdef WORDS_BIGENDIAN
-                        fmt->i_format = VLC_CODEC_S24B32;
-#else
                         fmt->i_format = VLC_CODEC_S24L32;
-#endif
                         break;
                     default:
                         return -1;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6dbc6361fe41584d311c05f16d99c35a9bf9efe9

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6dbc6361fe41584d311c05f16d99c35a9bf9efe9
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