[vlc-commits] [Git][videolan/vlc][3.0.x] codec: libass: fix inverted patch ratio
    Steve Lhomme (@robUx4) 
    gitlab at videolan.org
       
    Tue Dec 12 08:58:36 UTC 2023
    
    
  
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
795b1bc6 by François Cartegnie at 2023-12-11T09:35:10+01:00
codec: libass: fix inverted patch ratio
refs #27771
(cherry picked from commit b658d2887d645c8c7101c4106b9764bc6162dd97)
- - - - -
1 changed file:
- modules/codec/libass.c
Changes:
=====================================
modules/codec/libass.c
=====================================
@@ -787,7 +787,7 @@ static void OldEngineClunkyRollInfoPatch( decoder_t *p_dec, ASS_Track *p_track )
             else if( !strncmp( s, "PlayResX: ", 10 ) ||
                      !strncmp( s, "PlayResY: ", 10 ) )
             {
-                playres['Y' - s[7]] = atoi( &s[9] );
+                playres[s[7] - 'X'] = atoi( &s[9] );
             }
             else if( !strncmp( s, "Original Script: ", 17 ) )
             {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/795b1bc62be58ee1636c1fac28330d02bc0e08e0
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/795b1bc62be58ee1636c1fac28330d02bc0e08e0
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