[vlc-commits] [Git][videolan/vlc][master] demux: avi: fix regression/segfault with unseekable

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed May 31 06:45:49 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
3bfe4281 by Francois Cartegnie at 2023-05-31T06:20:30+00:00
demux: avi: fix regression/segfault with unseekable

regression by bc5da1405ea79e7b29f531323e2a440fda24bb4f

- - - - -


1 changed file:

- modules/demux/avi/avi.c


Changes:

=====================================
modules/demux/avi/avi.c
=====================================
@@ -1636,7 +1636,7 @@ static int Seek( demux_t *p_demux, vlc_tick_t i_date, double f_ratio, bool b_acc
             for( unsigned i = 0; i < p_sys->i_track; i++ )
             {
                 avi_track_t *p_track = p_sys->track[i];
-                if( !p_track->b_activated || p_stream->fmt.i_cat == SPU_ES )
+                if( !p_track->b_activated || p_track->fmt.i_cat == SPU_ES )
                     continue;
 
                 p_stream = p_track;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3bfe42813a946271710ad07e9a3b0426a98049fe

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