[vlc-commits] [Git][videolan/vlc][master] asfpacket: remove tautological test
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Feb 18 09:03:33 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
8d831238 by Steve Lhomme at 2025-02-18T08:44:19+00:00
asfpacket: remove tautological test
*pi_preroll is a vlc_tick_t that can never be bigger than VLC_TICK_MAX.
- - - - -
1 changed file:
- modules/demux/asf/asfpacket.c
Changes:
=====================================
modules/demux/asf/asfpacket.c
=====================================
@@ -227,7 +227,6 @@ static int DemuxPayload(asf_packet_sys_t *p_packetsys, asf_packet_t *pkt, int i_
vlc_tick_t i_pkt_time_delta = 0;
uint32_t i_payload_data_length = 0;
uint32_t i_temp_payload_length = 0;
- *p_packetsys->pi_preroll = __MIN( *p_packetsys->pi_preroll, VLC_TICK_MAX );
/* First packet, in case we do not have index to guess preroll start time */
if ( *p_packetsys->pi_preroll_start == ASFPACKET_PREROLL_FROM_CURRENT )
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8d831238cca7620508c97939c2eda5328f19a11a
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8d831238cca7620508c97939c2eda5328f19a11a
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