Rename libavcodec/aarch64/videodsp.S to libavcodec/aarch64/videodsp_aarch64.S
This avoids an object file name collision as both libavcodec/aarch64/videodsp.S and libavcodec/videodsp.c get compiled in to the same target in Chromium
7f03319...
by
Chris Cunningham <email address hidden>
avformat/utils: Check negative bps before shifting in ff_get_pcm_codec_id()
Fixes: undefined shift.
Signed-off-by: Michael Niedermayer <email address hidden>
(cherry picked from commit 2875745d354ab0ebc4af1ebaca5c5a8d26ccdc03)
33e5416...
by
Chrome Cunningham <email address hidden>
Merge "Improve strategy for autorename_* basename collision hack."
1e4e65d...
by
Chris Cunningham <email address hidden>
Improve strategy for autorename_* basename collision hack.
generate_gyp.py creates autorename_ copies of files that may produce
basename collisions. These copies are prone to going out of sync
if changes are made to the original file outside an ffmpeg roll (e.g.
a cherry-pick). To avoid this, we now #include the orignal file.
HAVE_FAST_CLZ causes a call to _tzcnt_u32 on Windows, and that's only
available on CPUs supporting BMI intrinsics. That's not guaranteed for
all CPUs Chromium supports.
Also add --cpu=opteron to the configure call on Windows, to make sure
this stays set correctly after the next ffmpeg roll.
77fdc79...
by
Michael Niedermayer <email address hidden>
avformat/utils: Check bps before using it in a shift in ff_get_pcm_codec_id()
We did not check that the bits per seconds received was a reasonable
number (64 bps or less). This caused undefined behavior when we
later attempted to left shift by "bits per second" (which ended up
shifting by more than 64 bits).
Fixes undefined shift
Fixes: usan_shift
Signed-off-by: Michael Niedermayer <email address hidden>
(cherry picked from commit ea791c080dd5494b3bee0c618a3f52e371b5f320)
f9d1463...
by
Chris Cunningham <email address hidden>
libavformat/oggdec: Free stream private when header parsing fails.
Leaking this private structure opens up the possibility that it may
be re-used when parsing later packets in the stream. This is
problematic if the later packets are not the same codec type (e.g.
private allocated during Vorbis parsing, but later packets are Opus
and the private is assumed to be the oggopus_private type in
opus_header()).
Signed-off-by: Michael Niedermayer <email address hidden>
(cherry picked from commit 542f725964e52201000ec34e2f23229cf534ad3a)