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

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Mar 20 13:38:59 UTC 2026



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
62d79d2d by Steve Lhomme at 2026-03-20T13:10:23+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...

(cherry picked from commit 401c4d6f8f5a9ed11152a8c3e44cef8a373cc3ce)

- - - - -


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/62d79d2dabe4052abe045d02ff9182a7a9d6dfc0

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




More information about the vlc-commits mailing list