MPV

~mpv-team/mpv/+git/ffmpeg:release/5.0

Last commit made on 2024-04-02
Get this branch:
git clone -b release/5.0 https://git.launchpad.net/~mpv-team/mpv/+git/ffmpeg

Branch merges

Branch information

Name:
release/5.0
Repository:
lp:~mpv-team/mpv/+git/ffmpeg

Recent commits

60df6aa... by Eugene Zemtsov <email address hidden>

avformat/mov: Check if a key is longer than the atom containing it

Stop reading keys and return AVERROR_INVALIDDATA if key_size
is larger than the amount of space left in the atom.

Bug: https://crbug.com/41496983
Signed-off-by: Eugene Zemtsov <email address hidden>
Signed-off-by: James Almer <email address hidden>
(cherry picked from commit 8a23a145d85964950123952d897b89c2c2b1b8c5)

201d0e6... by Timo Rothenpieler <email address hidden>

avcodec/nvdec: reset bitstream_len/nb_slices when resetting bitstream pointer

09f9f1d... by James Almer <email address hidden>

avformat/mov: don't abort on duplicate Mastering Display Metadata boxes

The VP9 spec defines a SmDm box for this information, and the ISOBMFF spec defines a
mdvc one. If both are present, just ignore one of them.
This is in line with clli and CoLL boxes.

Fixes ticket #10711.

Signed-off-by: James Almer <email address hidden>
(cherry picked from commit 189c32f53659b8f9dc402765905fc12a321ab1ac)

7c2efd6... by Frank Plowman <email address hidden>

doc/html: fix styling issue with Texinfo 7.0

Texinfo 7.0 produces quite different HTML to Texinfo 6.8. Without
this change, enumerated option flags (i.e. Possible values of x
are...) render as white text on a white background with Texinfo 7.0
and are unreadable. This change removes a style for the selector
`.table .table` which causes the background to turn white for these
elements. As far as I can tell, it is not actually used anywhere in
files generated by Texinfo 6.8.

Signed-off-by: Frank Plowman <email address hidden>
(cherry picked from commit f16900bda23414caf9ec3f9dc50db7d4caf59a8b)
Signed-off-by: Michael Niedermayer <email address hidden>

72281ad... by Frank Plowman <email address hidden>

doc/html: support texinfo 7.0

Resolves trac ticket #10636 (http://trac.ffmpeg.org/ticket/10636).

Texinfo 7.0, released in November 2022, changed the names of various
functions. Compiling docs with Texinfo 7.0 resulted in warnings and
improperly formatted documentation. More old names appear to have
been removed in Texinfo 7.1, released October 2023, which causes docs
compilation to fail.

This commit addresses the issue by adding logic to switch between the old
and new function names depending on the Texinfo version. Texinfo 6.8
produces identical documentation before and after the patch.

CC
https://<email address hidden>/msg1938238.html
https://bugs.gentoo.org/916104

Signed-off-by: Frank Plowman <email address hidden>
(cherry picked from commit f01fdedb69e4accb1d1555106d8f682ff1f1ddc7)
Signed-off-by: Michael Niedermayer <email address hidden>

2142d6e... by Christopher Degawa <email address hidden>

avcodec/libsvtav1: remove compressed_ten_bit_format and simplify alloc_buffer

compressed_ten_bit_format has been deprecated upstream and has no effect
and can be removed. Plus, technically it was never used in the first place
since it would require the app (ffmpeg) to set it and do additional
processing of the input frames.

Also simplify alloc_buffer by removing calculations relating to the
non-existant processing.

Signed-off-by: Christopher Degawa <email address hidden>

b0e2146... by Rémi Denis-Courmont

avcodec/x86/mathops: clip constants used with shift instructions within inline assembly

Fixes assembling with binutil as >= 2.41

Signed-off-by: James Almer <email address hidden>

6073fff... by Jan Ekström

avcodec/av1dec: fix matrix coefficients exposed by codec context

`colorspace` in avcodec terms means `matrix coefficients`.

Reviewed-by: James Almer <email address hidden>
(cherry picked from commit 37936b09ce316c32c456539afeb748d472088135)

4f9c230... by James Almer <email address hidden>

avcodec/nvdec: don't free NVDECContext->bitstream

Ensure all hwaccels that allocate a buffer use NVDECContext->bitstream_internal
instead. Otherwise, if FFHWAccel->end_frame() isn't called before
FFHWAccel->uninit(), an attempt to free a stale pointer to memory not owned by
the hwaccel could take place.

Reviewed-by: Timo Rothenpieler <email address hidden>
Signed-off-by: James Almer <email address hidden>

536cd25... by Hendrik Leppkes <email address hidden>

avcodec/vdpau_mpeg4: fix order of quant matrix coefficients

The matrix coefficients are stored permutated for the IDCT,
rather then in plain raster order, and need to be un-permutated
for the hardware.