[vlc-commits] [Git][videolan/vlc][master] packetizer: fix invalid streaminfo size check
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Feb 12 07:38:45 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
ddc594a5 by Jonas Dittrich at 2024-02-12T07:22:25+00:00
packetizer: fix invalid streaminfo size check
- - - - -
1 changed file:
- modules/packetizer/flac.c
Changes:
=====================================
modules/packetizer/flac.c
=====================================
@@ -120,7 +120,7 @@ static void ProcessHeader(decoder_t *p_dec)
p_extra += 8;
}
- if (p_dec->fmt_in->i_extra < FLAC_STREAMINFO_SIZE)
+ if (i_extra < FLAC_STREAMINFO_SIZE)
return;
FLAC_ParseStreamInfo( (uint8_t *) p_extra, &p_sys->stream_info );
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ddc594a59f4577112b4929deb93f6ee01a95d606
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ddc594a59f4577112b4929deb93f6ee01a95d606
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