[FFmpeg-cvslog] avformat/mov: dereference pointer after null check

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Dec 11 23:26:02 2024 +0100| [954d55c2a4244b366ae97d09546ba8ce2534892b] | committer: Michael Niedermayer avformat/mov: dereference pointer after null check Fixes: null pointer dereference Fixes: 383397479/clusterfuzz-testcase-minimized-ffmpeg

[FFmpeg-cvslog] avcodec/utils: Fix block align overflow for ADPCM_IMA_WAV

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Dec 11 22:37:07 2024 +0100| [93270930798da368d5b1954a73ef7ff9dfa48f73] | committer: Michael Niedermayer avcodec/utils: Fix block align overflow for ADPCM_IMA_WAV Fixes: signed integer overflow: 529008646 * 8 cannot be represented in type 'in

[FFmpeg-cvslog] avformat/matroskadec: Check pre_ns for overflow

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Dec 11 21:36:11 2024 +0100| [361d24e6d920e4f7e4e5fa1fd6fbb6922bff35f2] | committer: Michael Niedermayer avformat/matroskadec: Check pre_ns for overflow Fixes: signed integer overflow: -3483479120376300096 - 7442323944145700864 cannot be repr

[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust threshold for SGA

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Dec 11 21:11:52 2024 +0100| [fe1aeb499b93e0a37d9135f22a6d172b3c875186] | committer: Michael Niedermayer tools/target_dec_fuzzer: Adjust threshold for SGA Fixes: Timeout Fixes: 382804863/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SGA_f

[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust threshold for EACMV

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Dec 11 21:24:00 2024 +0100| [8f4eb0fe03aca552d375e2bce019a5da785f50d5] | committer: Michael Niedermayer tools/target_dec_fuzzer: Adjust threshold for EACMV Fixes: Timeout Fixes: 382988735/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EAC

[FFmpeg-cvslog] avcodec/rv60dec: Check NEXT/LAST availability

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Dec 8 02:07:52 2024 +0100| [61ff3047c577372cb3890b0e0eb6f556c0f8de8c] | committer: Michael Niedermayer avcodec/rv60dec: Check NEXT/LAST availability Fixes: NULL ptr use Fixes: 378634700/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV60

[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust threshold for MVC1

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Dec 8 03:04:16 2024 +0100| [e7230bc503a1180e6eb76f956e9c6b61352936e4] | committer: Michael Niedermayer tools/target_dec_fuzzer: Adjust threshold for MVC1 Fixes: Timeout Fixes: 378231213/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MVC1

[FFmpeg-cvslog] avformat/mov: free stream_info when the surrounding array is freed

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Dec 8 02:56:28 2024 +0100| [e8c94e31da65856920434813368956640c771684] | committer: Michael Niedermayer avformat/mov: free stream_info when the surrounding array is freed Fixes: memleak Fixes: 378408474/clusterfuzz-testcase-minimized-ffmpeg_

[FFmpeg-cvslog] avcodec/rv60dec: Use get_bits_long()

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Dec 8 01:58:20 2024 +0100| [2336fc44acc15b9f2e8f6dcef1651f90d15c9cd9] | committer: Michael Niedermayer avcodec/rv60dec: Use get_bits_long() Fixes: 378634700/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV60_fuzzer-5008344043028480 Fixe

[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust Threshold for indeo5

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Dec 8 00:32:38 2024 +0100| [89efc6c97c4faf97dfed558b7bce2f64f8bd61e1] | committer: Michael Niedermayer tools/target_dec_fuzzer: Adjust Threshold for indeo5 Fixes: 379768251/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-598

[FFmpeg-cvslog] avcodec/escape130: move get_buffer down

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Dec 8 01:23:39 2024 +0100| [34c06f52849a51c58a11ae530bd4c30012a3d6a0] | committer: Michael Niedermayer avcodec/escape130: move get_buffer down This way the (slow) allocation of an image is done after various additional checks Fixes: Timeou

[FFmpeg-cvslog] avutil/timecode: Avoid fps overflow in av_timecode_get_smpte_from_framenum()

2024-12-23 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Dec 22 00:28:21 2024 +0100| [6ba33b50f51b17eef0449f20b3524f174dc9c3cc] | committer: Michael Niedermayer avutil/timecode: Avoid fps overflow in av_timecode_get_smpte_from_framenum() Fix from c94875471e3ba3dc396c6919ff3ec9b14539cd71 Found-by:

[FFmpeg-cvslog] avutil/frame: add missing size dependent prop to LCEVC payload side data

2024-12-23 Thread James Almer
ffmpeg | branch: master | James Almer | Mon Dec 23 17:39:57 2024 -0300| [f1ddba24a0cf2394b2e256ed0eb1db0b4d935b7c] | committer: James Almer avutil/frame: add missing size dependent prop to LCEVC payload side data Signed-off-by: James Almer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=co

[FFmpeg-cvslog] avfilter/vf_lut*: strip color volume metadata

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 26 13:19:26 2024 +0200| [d23f443dfcad65c7abff728f7835d5fb78654393] | committer: Niklas Haas avfilter/vf_lut*: strip color volume metadata These filters, in general, will apply some arbitrary color volume transformation. Strip corresponding metadat

[FFmpeg-cvslog] avfilter/vf_libplacebo: update metadata stripping logic

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 26 13:03:57 2024 +0200| [0d468730bc4ecc1a1b5870d10abc59fa2b18dfa6] | committer: Niklas Haas avfilter/vf_libplacebo: update metadata stripping logic Switches to av_frame_side_data_remove_by_props(), covering a number of cases that we previously ign

[FFmpeg-cvslog] avfilter/vf_scale*: strip metadata on size change

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 26 12:56:35 2024 +0200| [f22965b8823c92b16c645e7ef5a0ef95b81c7821] | committer: Niklas Haas avfilter/vf_scale*: strip metadata on size change > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f22965b8823c92b16c645e7ef5a0ef95b81c7821 ---

[FFmpeg-cvslog] avutil/frame: add av_frame_side_data_remove_by_props()

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Dec 4 12:37:15 2024 +0100| [b88944a8aa599be0f16603380e7bc51402d3caf8] | committer: Niklas Haas avutil/frame: add av_frame_side_data_remove_by_props() As discussed in the previous commit, we often need a convenient way of stripping all side data relat

[FFmpeg-cvslog] avfilter/vf_colorspace: strip color volume metadata

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 26 13:07:43 2024 +0200| [eecdc25d4b7c6be368be38279880ed38fc3e1bd2] | committer: Niklas Haas avfilter/vf_colorspace: strip color volume metadata > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eecdc25d4b7c6be368be38279880ed38fc3e1bd2 --

[FFmpeg-cvslog] avfilter/vf_zscale: strip metadata on change

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Apr 26 12:59:37 2024 +0200| [d1eadc43b91a84ddf6ae5d130b4752e9a36d0a92] | committer: Niklas Haas avfilter/vf_zscale: strip metadata on change Required for both size changes and color volume changes (as a result of changing primaries/transfer). > http:

[FFmpeg-cvslog] avutil/frame: add AV_SIDE_DATA_PROP_{SIZE,COLOR}_DEPENDENT

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Dec 4 12:20:22 2024 +0100| [3428a8d830357c7c3a30cabbf22f74a362541a5b] | committer: Niklas Haas avutil/frame: add AV_SIDE_DATA_PROP_{SIZE,COLOR}_DEPENDENT Many filters modify certain aspects of frame data, e.g. through resizing (vf_*scale* family), co

[FFmpeg-cvslog] avutil/frame: add AVSideDataDescriptor for AV_FRAME_DATA_VIDEO_HINT

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Dec 4 12:14:46 2024 +0100| [01084f3d16aeff2129fb1d2944921fc986cd4475] | committer: Niklas Haas avutil/frame: add AVSideDataDescriptor for AV_FRAME_DATA_VIDEO_HINT This entry was seemingly missing. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=c

[FFmpeg-cvslog] swscale/options: add -sws_dither none alias

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Dec 19 12:41:22 2024 +0100| [5ca5bbd462bcd8040b35957ccc00d0392e6de57d] | committer: Niklas Haas swscale/options: add -sws_dither none alias While this one was technically supported on account of the generic options code allowing "none" as a valid alia

[FFmpeg-cvslog] swscale: remove primaries/trc change warning

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Dec 2 11:22:14 2024 +0100| [253b8977c02078faef057542ca647fc676e747e1] | committer: Niklas Haas swscale: remove primaries/trc change warning This is now supported when using the new API. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=253

[FFmpeg-cvslog] swscale/csputils: add internal colorspace math helpers

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Nov 28 14:05:49 2024 +0100| [2e674780b7402d8b75dc222340fd51511f7856aa] | committer: Niklas Haas swscale/csputils: add internal colorspace math helpers Logic is, for the most part, a straight port of similar logic in liplacebo's colorspace.c, with some

[FFmpeg-cvslog] swscale/graph: allow dynamically updating HDR metadata

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Dec 1 15:00:35 2024 +0100| [6da940e1189af566614bdd39ca6ac2ae54615248] | committer: Niklas Haas swscale/graph: allow dynamically updating HDR metadata Without triggering a full graph reinit. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h

[FFmpeg-cvslog] swscale/utils: add helper function to infer colorspace metadata

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Nov 28 13:49:23 2024 +0100| [1f0c5007840932b30c162982219750f8c9ed89c7] | committer: Niklas Haas swscale/utils: add helper function to infer colorspace metadata Logic is loosely on equivalent decisions in libplacebo. The basic idea is to try and be a b

[FFmpeg-cvslog] swscale/graph: add color mapping pass

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Nov 29 19:18:34 2024 +0100| [efff80c8f65ec3114811cc8261174ca0a81b4c75] | committer: Niklas Haas swscale/graph: add color mapping pass This leverages the previously introduced color management subsystem in order to adapt between transfer functions and

[FFmpeg-cvslog] swscale/lut3d: add 3DLUT dispatch system

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Nov 29 15:51:09 2024 +0100| [a57fe519b60a23ead01f24c20638160d93a6cb72] | committer: Niklas Haas swscale/lut3d: add 3DLUT dispatch system This is a lightweight wrapper around the underlying color management system, whose job it is merely to manage the

[FFmpeg-cvslog] avfilter/vf_scale: strip metadata when changing colorspace

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sun Dec 1 12:19:27 2024 +0100| [01ce9d796300be815351579fe6cb343c732e36f4] | committer: Niklas Haas avfilter/vf_scale: strip metadata when changing colorspace This is no longer relevant after a change in color space. > http://git.videolan.org/gitweb.cgi/

[FFmpeg-cvslog] avfilter/vf_scale: make options alignment consistent (cosmetic)

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Dec 16 12:10:28 2024 +0100| [4315cc943aa2c82df640ae2ba04ca1242e760c45] | committer: Niklas Haas avfilter/vf_scale: make options alignment consistent (cosmetic) > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4315cc943aa2c82df640ae2ba04ca12

[FFmpeg-cvslog] swscale/cms: add color management subsystem

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Nov 29 15:05:26 2024 +0100| [dddf536d3d575a8f7cf7eb85bdd2b2d20fc36369] | committer: Niklas Haas swscale/cms: add color management subsystem The underlying color mapping logic was ported as straightforwardly as possible from libplacebo, although the AP

[FFmpeg-cvslog] avfilter/vf_scale: add colorspace and transfer property options

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Nov 28 13:51:06 2024 +0100| [b7a25719f5ec9792af38bfb66da2d10308e8] | committer: Niklas Haas avfilter/vf_scale: add colorspace and transfer property options In the long run, it would be ideal if we could add these to the avfilter negotiation as wel

[FFmpeg-cvslog] swscale: add ICC intent enum and option

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Nov 28 13:59:02 2024 +0100| [45f0a7ad338cef639b32c8bc5330d3ff5415bdb5] | committer: Niklas Haas swscale: add ICC intent enum and option This setting can be used to infuence the type of tone and gamut mapping used internally when color space conversion

[FFmpeg-cvslog] swscale/utils: read dynamic HDR10+ metadata from AVFrame

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat Nov 30 14:50:36 2024 +0100| [9084d581e8e5196b661d2841b45a9e773a1378a4] | committer: Niklas Haas swscale/utils: read dynamic HDR10+ metadata from AVFrame Logic ported from libplacebo's AVFrame helpers. The basic idea is to use the provided MaxRGB/MaxSC

[FFmpeg-cvslog] swscale/utils: read HDR mastering metadata from AVFrame

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat Nov 30 14:50:07 2024 +0100| [7432fa19cdd014bcc120eb8e403ceb301bb5d0d2] | committer: Niklas Haas swscale/utils: read HDR mastering metadata from AVFrame > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7432fa19cdd014bcc120eb8e403ceb301bb5d0d

[FFmpeg-cvslog] swscale/utils: fix XYZ primaries tagging

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Dec 6 15:29:12 2024 +0100| [7b7c32322d1f754b3cd78c4dab02ac4c3992114c] | committer: Niklas Haas swscale/utils: fix XYZ primaries tagging Swscale currently handles XYZ by embedding a forced conversion to BT.709 RGB with a hardcoded matrix. This is not

[FFmpeg-cvslog] swscale/utils: add HDR metadata to SwsFormat

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Nov 28 13:43:48 2024 +0100| [a8d01dff9a24520f80b1d4243a9787925d57539f] | committer: Niklas Haas swscale/utils: add HDR metadata to SwsFormat Only add the condensed values that we actually care about. Group them into a new struct to make it easier to d

[FFmpeg-cvslog] swscale/utils: set static/implied HDR metadata

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Sat Nov 30 14:48:57 2024 +0100| [5b21b7f52c7a306e4a087f4822089e29d3b8a709] | committer: Niklas Haas swscale/utils: set static/implied HDR metadata Provide default values for the fields added in the previous commit. > http://git.videolan.org/gitweb.cgi/ff

[FFmpeg-cvslog] swscale/utils: check for supported color transfers

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Nov 29 21:39:15 2024 +0100| [b9dfe8138eb2df49c85a085b73c20d652ecf579a] | committer: Niklas Haas swscale/utils: check for supported color transfers We will use the av_csp_itu_eotf() functions to decode these internally, so check this function to see if

[FFmpeg-cvslog] checkasm/sw_scale: add assertion for hscale assumption

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Dec 11 10:13:46 2024 +0100| [fe9bf7cd5235bbdbe95eb610540e6e8851e58b7d] | committer: Niklas Haas checkasm/sw_scale: add assertion for hscale assumption This code only checks hcScale. In practice this is not an issue because the function pointers should

[FFmpeg-cvslog] swscale/unscaled: allow semiplanar copies

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Dec 19 15:05:19 2024 +0100| [6c9218d748e06da019b6d15c37e5849d8a69bb07] | committer: Niklas Haas swscale/unscaled: allow semiplanar copies As fixed in the previous commit, this enables semipacked range and bit depth conversions. Previously these would

[FFmpeg-cvslog] swscale/unscaled: correctly round yuv2yuv when not dithering

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Dec 17 15:20:14 2024 +0100| [c6bf7f664527842fa3b89e49dc2a43f639430c33] | committer: Niklas Haas swscale/unscaled: correctly round yuv2yuv when not dithering We should at least bias towards the nearest integer, instead of always rounding down, when not

[FFmpeg-cvslog] swscale/unscaled: correctly copy semiplanar formats

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Dec 19 14:41:34 2024 +0100| [77db7f9b87811aa588e6ab6a7256f7cd8267265d] | committer: Niklas Haas swscale/unscaled: correctly copy semiplanar formats This fixes multiple bugs with semiplanar formats like NV12. Not only do these false positive the graysc

[FFmpeg-cvslog] checkasm/sw_scale: add test for yuv2nv12cX

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Mon Dec 16 12:44:10 2024 +0100| [57bbdb4fb1e1dde4c8c447ba42c941c1422abd11] | committer: Niklas Haas checkasm/sw_scale: add test for yuv2nv12cX Mirroring yuv2yuvX. Signed-off-by: Niklas Haas Sponsored-by: Sovereign Tech Fund > http://git.videolan.org/gi

[FFmpeg-cvslog] checkasm/sw_rgb: add tests for yuv2packed{1,2,X}

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Thu Dec 12 16:52:18 2024 +0100| [c601bb8df5ae896061c42dd0e23cea8fba938ecb] | committer: Niklas Haas checkasm/sw_rgb: add tests for yuv2packed{1,2,X} Signed-off-by: Niklas Haas Sponsored-by: Sovereign Tech Fund > http://git.videolan.org/gitweb.cgi/ffmpeg

[FFmpeg-cvslog] checkasm/sw_rgb: add alpToYV12 check

2024-12-23 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Fri Dec 13 15:27:11 2024 +0100| [a9ae2cc14d43ea35b0f90dc3ac3ee35fed586446] | committer: Niklas Haas checkasm/sw_rgb: add alpToYV12 check Mirroring lumToYV12 and chrToYV12. Signed-off-by: Niklas Haas Sponsored-by: Sovereign Tech Fund > http://git.videol

[FFmpeg-cvslog] libavcodec/v4l2_buffers.c: set AVFrame interlaced flags

2024-12-23 Thread Scott Theisen
ffmpeg | branch: master | Scott Theisen | Wed Dec 18 16:59:53 2024 -0500| [9da1d2e66ab1ac9dcfaa290bbea78b2a4900ac0a] | committer: Zhao Zhili libavcodec/v4l2_buffers.c: set AVFrame interlaced flags Originally from: https://github.com/MythTV/mythtv/commit/669955c6cb29196b4b5120451b5b998d67a65749