[vlc-commits] [Git][videolan/vlc][master] vlc_codecs: fix warning with mingw-w64

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Dec 2 05:16:50 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
cf52315a by Steve Lhomme at 2022-12-02T04:58:12+00:00
vlc_codecs: fix warning with mingw-w64

We don't want the OS/SDK values, even though they might/should be the
same.

- - - - -


1 changed file:

- include/vlc_codecs.h


Changes:

=====================================
include/vlc_codecs.h
=====================================
@@ -183,6 +183,10 @@ ATTR_PACKED
 #   pragma pack(pop)
 #endif
 
+/* disable Windws ones, keep consistency throughout our source code */
+#undef WAVE_FORMAT_PCM
+#undef WAVE_FORMAT_IMA_ADPCM
+
 /* WAVE format wFormatTag IDs */
 /* See http://msdn.microsoft.com/en-us/library/aa904731%28v=vs.80%29.aspx */
 #define WAVE_FORMAT_UNKNOWN             0x0000 /* Microsoft Corporation */



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

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