[vlc-commits] [Git][videolan/vlc][master] amf_helper: generate a compilation error if AMF is used outside of Windows

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Mar 17 12:08:33 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
401c4d6f by Steve Lhomme at 2026-03-17T11:39:06+00:00
amf_helper: generate a compilation error if AMF is used outside of Windows

Proper support for Linux needs to be added.

The NULL return value could have returned 0 which is VLC_SUCCESS...

- - - - -


1 changed file:

- modules/hw/amf/amf_helper.c


Changes:

=====================================
modules/hw/amf/amf_helper.c
=====================================
@@ -55,7 +55,7 @@ error:
 # endif // !WINAPI_PARTITION_DESKTOP
 
 #else
-    return NULL; // TODO
+# error AMF not handled on this OS
 #endif
 }
 



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

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