Commit ac20dc54 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

document vlc_fourcc_to_char() function.

parent 639a8062
...@@ -106,6 +106,13 @@ typedef uint32_t vlc_fourcc_t; ...@@ -106,6 +106,13 @@ typedef uint32_t vlc_fourcc_t;
#endif #endif
/**
* Translate a vlc_fourcc into its string representation. This function
* assumes there is enough room in psz_fourcc to store 4 characters in.
*
* \param fcc a vlc_fourcc_t
* \param psz_fourcc string to store string representation of vlc_fourcc in
*/
static inline void __vlc_fourcc_to_char( vlc_fourcc_t fcc, char *psz_fourcc ) static inline void __vlc_fourcc_to_char( vlc_fourcc_t fcc, char *psz_fourcc )
{ {
memcpy( psz_fourcc, &fcc, 4 ); memcpy( psz_fourcc, &fcc, 4 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment