From: François Cartegnie Date: Fri, 16 Aug 2024 04:30:16 +0000 (+0700) Subject: demux: asf: add missing subpayloads drain on EOF X-Git-Tag: archive/raspbian/3.0.21-6+rpi1^2~102 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=75d3f480531ba5d27b1a948bcf6e5e495bb1c2cc;p=vlc.git demux: asf: add missing subpayloads drain on EOF refs #28716 (cherry picked from commit 6bf0a1407b5b9aef792ef94a57142254d079e8fd) Gbp-Pq: Name 0023-demux-asf-add-missing-subpayloads-drain-on-EOF.patch --- diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c index a4b5b47a..3111c614 100644 --- a/modules/demux/asf/asf.c +++ b/modules/demux/asf/asf.c @@ -236,7 +236,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; itrack[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 )