]> git.sesse.net Git - vlc/blobdiff - modules/codec/svcdsub.c
Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
[vlc] / modules / codec / svcdsub.c
index c6d9ee922994a75a407b306bfa63f081ea637010..0b20b73350333daf36e16a9477741defbacd167d 100644 (file)
@@ -480,7 +480,7 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, block_t *p_data )
 
     /* Create new subtitle region */
     memset( &fmt, 0, sizeof(video_format_t) );
-    fmt.i_chroma = VLC_FOURCC('Y','U','V','P');
+    fmt.i_chroma = VLC_CODEC_YUVP;
 
     /**
        The video on which the subtitle sits, is scaled, probably