[vlc-commits] [Git][videolan/vlc][master] vlc_fourcc: fix documentation for vlc_fourcc_GetDescription()

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Apr 19 10:04:03 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
656e5d62 by Steve Lhomme at 2026-04-19T11:51:54+02:00
vlc_fourcc: fix documentation for vlc_fourcc_GetDescription()

It does not return NULL but an empty string.

- - - - -


1 changed file:

- include/vlc_fourcc.h


Changes:

=====================================
include/vlc_fourcc.h
=====================================
@@ -771,7 +771,7 @@ VLC_API vlc_fourcc_t vlc_fourcc_GetCodecFromString( int i_cat, const char * );
 VLC_API vlc_fourcc_t vlc_fourcc_GetCodecAudio( vlc_fourcc_t i_fourcc, int i_bits );
 
 /**
- * It returns the description of the given fourcc or NULL if not found.
+ * It returns the description of the given fourcc or an empty string.
  *
  * You may use UNKNOWN_ES for the ES category if you don't have the information.
  */
@@ -892,4 +892,3 @@ static inline unsigned vlc_fourcc_GetChromaBPP( vlc_fourcc_t fourcc )
 }
 
 #endif /* _VLC_FOURCC_H */
-



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

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




More information about the vlc-commits mailing list