]> git.sesse.net Git - vlc/blobdiff - src/osd/osd_text.c
Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
[vlc] / src / osd / osd_text.c
index 7ae4be9b5d6990f09c587d23e6a5b9f1eed960e7..375a02af979e52b62279d41445b0a2dcad574697 100644 (file)
@@ -90,7 +90,7 @@ int osd_ShowTextAbsolute( spu_t *p_spu_channel, int i_channel,
 
     /* Create a new subpicture region */
     memset( &fmt, 0, sizeof(video_format_t) );
-    fmt.i_chroma = VLC_FOURCC('T','E','X','T');
+    fmt.i_chroma = VLC_CODEC_TEXT;
     fmt.i_aspect = 0;
     fmt.i_width = fmt.i_height = 0;
     fmt.i_x_offset = fmt.i_y_offset = 0;