Similar to existing lavc/vorbisdec.c code which first checks that
avc->channels is valid for accessing ff_vorbis_channel_layouts, this
change adds protection to libopusdec.c to prevent accessing that
array with a negative index.
e91355a...
by
Matt Wolenetz <email address hidden>
lavf/utils.c Protect against accessing entries[nb_entries]
In ff_index_search_timestamp(), if b == num_entries,
m == num_entries - 1, and entries[m].flags & AVINDEX_DISCARD_FRAME is
true, then the search for the next non-discarded packet could access
entries[nb_entries], exceeding its bounds. This change adds a protection
against that scenario.
92f86a5...
by
Matt Wolenetz <email address hidden>
Disable deprecation warnings locally within ffmpeg
Upstream changes in the FFmpeg M56 roll included some deprecated usages
of avcodec_encode_{audio,video}2() and AVStream.codec internally in
lavc/utils.c and lavf/utils.c, respectively. This change locally
disables deprecation warnings around those usages to prevent spamming
such warnings when building Chrom*.
5d76f94...
by
Matt Wolenetz <email address hidden>
Enable windows Chrom* build including lavf/wavdec.c
Expands the downstream #if's to exclude more code blocks including
symbols not in our builds, gated by each of CONFIG_SPDIF_DEMUXER and
CONFIG_W64_DEMUXER. At least the windows toolchain otherwise would fail
linking Chrom* pieces due to resolved symbols without this change.