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

François Cartegnie (@fcartegnie) gitlab at videolan.org
Wed Aug 21 10:55:01 UTC 2024



François Cartegnie pushed to branch 3.0.x at VideoLAN / VLC


Commits:
b16e559e by François Cartegnie at 2024-08-20T17:32:53+07:00
demux: asf: add missing subpayloads drain on EOF

refs #28716

(cherry picked from commit 6bf0a1407b5b9aef792ef94a57142254d079e8fd)

- - - - -


1 changed file:

- modules/demux/asf/asf.c


Changes:

=====================================
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; 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/b16e559eadbcea539c893b319c360ade4e257d13

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