[vlc-commits] [Git][videolan/vlc][master] codec: libass: fix inverted patch ratio

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Dec 11 06:09:25 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b658d288 by François Cartegnie at 2023-12-10T22:43:58+00:00
codec: libass: fix inverted patch ratio

refs #27771

- - - - -


1 changed file:

- modules/codec/libass.c


Changes:

=====================================
modules/codec/libass.c
=====================================
@@ -776,7 +776,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/b658d2887d645c8c7101c4106b9764bc6162dd97

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b658d2887d645c8c7101c4106b9764bc6162dd97
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