[vlc-commits] [Git][videolan/vlc][master] demux: asf: add missing subpayloads drain on EOF

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat Aug 17 08:10:20 UTC 2024



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
6bf0a140 by François Cartegnie at 2024-08-17T07:57:55+00:00
demux: asf: add missing subpayloads drain on EOF

refs #28716

- - - - -


1 changed file:

- modules/demux/asf/asf.c


Changes:

=====================================
modules/demux/asf/asf.c
=====================================
@@ -242,7 +242,15 @@ static int Demux( demux_t *p_demux )
                     msg_Warn( p_demux, "found a new ASF header" );
             }
             else
+            {
                 p_sys->b_eof = true;
+                for ( int i=0; i<MAX_ASF_TRACKS; i++ )
+                {
+                    asf_track_t *tk = p_sys->track[i];
+                    if ( tk && tk->info.p_frame )
+                        Packet_Enqueue( &p_sys->packet_sys, i, &tk->info.p_frame );
+                }
+            }
         }
 
         if ( p_sys->i_time == VLC_TICK_INVALID )



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6bf0a1407b5b9aef792ef94a57142254d079e8fd

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