]> git.sesse.net Git - vlc/blobdiff - modules/demux/ps.c
Used VLC_CODEC_OGT/CVD in ps demuxer.
[vlc] / modules / demux / ps.c
index ffab1e7e0c0a498768c21d178cbf453f4d407447..7bdb388f8652fe2655539ee2c69b2b4edfcf7ea3 100644 (file)
@@ -391,8 +391,8 @@ static int Demux( demux_t *p_demux )
             /* The popular VCD/SVCD subtitling WinSubMux does not
              * renumber the SCRs when merging subtitles into the PES */
             if( tk->b_seen &&
-                ( tk->fmt.i_codec == VLC_FOURCC('o','g','t',' ') ||
-                  tk->fmt.i_codec == VLC_FOURCC('c','v','d',' ') ) )
+                ( tk->fmt.i_codec == VLC_CODEC_OGT ||
+                  tk->fmt.i_codec == VLC_CODEC_CVD ) )
             {
                 p_sys->i_scr = -1;
             }