[vlc-commits] [Git][videolan/vlc][master] 2 commits: demux: mkv: use the internal USF FourCC value

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Nov 11 08:51:50 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
447116d3 by Steve Lhomme at 2024-11-11T08:34:57+00:00
demux: mkv: use the internal USF FourCC value

Rather than a local FourCC.

- - - - -
71c2622a by Steve Lhomme at 2024-11-11T08:34:57+00:00
demux: mkv: use the internal QDMC FourCC value

Rather than a local FourCC.

- - - - -


1 changed file:

- modules/demux/mkv/matroska_segment_parse.cpp


Changes:

=====================================
modules/demux/mkv/matroska_segment_parse.cpp
=====================================
@@ -2265,7 +2265,7 @@ bool matroska_segment_c::TrackInit( mkv_track_t * p_tk )
         }
         S_CASE("A_QUICKTIME/QDMC") {
             vars.p_fmt->i_cat   = AUDIO_ES;
-            vars.p_fmt->i_codec = VLC_FOURCC('Q','D','M','C');
+            vars.p_fmt->i_codec = VLC_CODEC_QDMC;
 
             fill_extra_data( vars.p_tk, 0 );
         }
@@ -2297,7 +2297,7 @@ bool matroska_segment_c::TrackInit( mkv_track_t * p_tk )
         }
         S_CASE("S_TEXT/USF") {
             ONLY_FMT(SPU);
-            vars.p_tk->fmt.i_codec = VLC_FOURCC( 'u', 's', 'f', ' ' );
+            vars.p_tk->fmt.i_codec = VLC_CODEC_USF;
             vars.p_tk->fmt.subs.psz_encoding = strdup( "UTF-8" );
             fill_extra_data( vars.p_tk, 0 );
         }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/0f56373e133917fa1833190b9438f9edb092010c...71c2622ab992a4bb4485e5e151f3019e60543d35

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/0f56373e133917fa1833190b9438f9edb092010c...71c2622ab992a4bb4485e5e151f3019e60543d35
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list