[FFmpeg-cvslog] fftools/ffmpeg_mux_init: Fix double-free on error

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Mar 25 16:54:25 2024 +0100| [ced5c5fdb8634d39ca9472a2026b2d2fea16c4e5] | committer: Andreas Rheinhardt fftools/ffmpeg_mux_init: Fix double-free on error MATCH_PER_STREAM_OPT iterates over all options of a given OptionDef and tests whether they

[FFmpeg-cvslog] avformat/internal: Move FF_FMT_INIT_CLEANUP to demux.h

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 15 18:08:11 2024 +0100| [4a4dcde339b8e50f5cf77a6048bf665a2be27133] | committer: Andreas Rheinhardt avformat/internal: Move FF_FMT_INIT_CLEANUP to demux.h and rename it to FF_INFMT_INIT_CLEANUP. This flag is demuxer-only, so this is the mor

[FFmpeg-cvslog] avformat/vqf: Return 0 on success in read_packet

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Mar 17 20:38:11 2024 +0100| [27af88fb7fe6ecbcda60f46f8f22f2ca324eb7ec] | committer: Andreas Rheinhardt avformat/vqf: Return 0 on success in read_packet Demuxers are not supposed to return the size of the packet read. Signed-off-by: Andreas Rh

[FFmpeg-cvslog] avformat/cdg: Don't store avio_size() return value in int

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Mar 16 00:20:47 2024 +0100| [29aa499fc965ebd539ec5076a2b9293edc07acf8] | committer: Andreas Rheinhardt avformat/cdg: Don't store avio_size() return value in int Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.gi

[FFmpeg-cvslog] avformat/lafdec: Fix shadowing

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Mar 17 22:51:27 2024 +0100| [cee70b9f1b378ae1ea6c4aaa7178d89f39768ea8] | committer: Andreas Rheinhardt avformat/lafdec: Fix shadowing Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cee70b9f1b378

[FFmpeg-cvslog] avformat/argo_cvg: Avoid relocations for ArgoCVGOverride

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 15 22:30:09 2024 +0100| [aa8c7dc3d8d5312954d7a13486fa0cdedfc31c7f] | committer: Andreas Rheinhardt avformat/argo_cvg: Avoid relocations for ArgoCVGOverride The average length of the strings used here does not differ much from the length of

[FFmpeg-cvslog] avformat/wvedec: Inline constant

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Mar 17 20:21:01 2024 +0100| [88f803cf64517c70e808420fddcba7bb1788645b] | committer: Andreas Rheinhardt avformat/wvedec: Inline constant Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=88f803cf645

[FFmpeg-cvslog] avformat/wady: Combine skips

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Mar 17 20:32:24 2024 +0100| [69b85a69bdf0273c17c55adda15a7c1ddf6771bc] | committer: Andreas Rheinhardt avformat/wady: Combine skips Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=69b85a69bdf0273

[FFmpeg-cvslog] avformat/avr: Combine skips

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 15 22:58:46 2024 +0100| [cdff5a2c0cfa978b97398dd4e95cc2a292d05525] | committer: Andreas Rheinhardt avformat/avr: Combine skips Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cdff5a2c0cfa978b

[FFmpeg-cvslog] avformat/fsb: Don't set data_offset manually

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 22 20:43:28 2024 +0100| [56ba83ff2d7225189cee296b6a5c33ba6619e521] | committer: Andreas Rheinhardt avformat/fsb: Don't set data_offset manually It is set generically to the value that it is to here. Signed-off-by: Andreas Rheinhardt > h

[FFmpeg-cvslog] avformat/fitsdec: Don't use AVBPrint for temporary storage

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 22 19:22:25 2024 +0100| [b93ed5c28ecc06a0a5e54994439c9a65fa0f96c4] | committer: Andreas Rheinhardt avformat/fitsdec: Don't use AVBPrint for temporary storage Most of the data in the temporary storage ends up being returned to the user as A

[FFmpeg-cvslog] avformat/g722: Inline constants

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Mar 15 20:14:41 2024 +0100| [8768188581b4e47125d8eab625920e8ad65ed2d9] | committer: Andreas Rheinhardt avformat/g722: Inline constants Forgotten in 5f0e161dd61552ad70760bad35b869eaec7368ff. Signed-off-by: Andreas Rheinhardt > http://git.vid

[FFmpeg-cvslog] avformat/hls: Don't access FFInputFormat.raw_codec_id

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Mar 18 00:24:39 2024 +0100| [5144455c201185861072e66884bba16c48b4812d] | committer: Andreas Rheinhardt avformat/hls: Don't access FFInputFormat.raw_codec_id It is an implementation detail of other input formats whether they use raw_codec_id or

[FFmpeg-cvslog] configure: Make hls demuxer select AAC, AC3 and EAC3 demuxers

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Mar 17 23:59:26 2024 +0100| [8d8b5947c3369a46e62969dfefd7e112d256] | committer: Andreas Rheinhardt configure: Make hls demuxer select AAC, AC3 and EAC3 demuxers The code relies on their presence and would presumably crash when retrieving i

[FFmpeg-cvslog] avformat/mux: Remove check for AVFMT_ALLOW_FLUSH

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Mar 23 00:57:32 2024 +0100| [a990e6fa01cb4436e26d0aa628307305cd475bef] | committer: Andreas Rheinhardt avformat/mux: Remove check for AVFMT_ALLOW_FLUSH Due to the bump it is now certain that all devices that support flushing have the proper in

[FFmpeg-cvslog] avformat/file: Combine all CONFIG_ANDROID_CONTENT_PROTOCOL blocks

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Mar 23 13:10:40 2024 +0100| [e95dd6f53e49325f95ac2243acf3667a6ddf40ac] | committer: Andreas Rheinhardt avformat/file: Combine all CONFIG_ANDROID_CONTENT_PROTOCOL blocks Besides improving readability this also ensures that a developer who has t

[FFmpeg-cvslog] avformat/file: Constify android content protocol

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Mar 23 13:06:05 2024 +0100| [ebe832640945c531b0ee9b82ae745a11cd9f8e71] | committer: Andreas Rheinhardt avformat/file: Constify android content protocol (The discrepancy between the definition and the declaration in protocols.c is actually UB.)

[FFmpeg-cvslog] avcodec/mpegutils: Simplify indenting

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Mar 23 13:04:23 2024 +0100| [a6189ba896b207c40007704a1aec7ef68a8eb50b] | committer: Andreas Rheinhardt avcodec/mpegutils: Simplify indenting Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a6189b

[FFmpeg-cvslog] avcodec/mpegutils: Avoid allocations when using AVBPrint

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Mar 23 13:01:11 2024 +0100| [5eda98f382103be8bc626fa36408b51a996b6518] | committer: Andreas Rheinhardt avcodec/mpegutils: Avoid allocations when using AVBPrint Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git

[FFmpeg-cvslog] fftools/ffmpeg_filter: remove prototype for non existent function

2024-03-25 Thread James Almer
ffmpeg | branch: master | James Almer | Sun Mar 24 10:32:45 2024 -0300| [0963ef4996ca94eb37c0c29d9b9e18ac00fe5f29] | committer: James Almer fftools/ffmpeg_filter: remove prototype for non existent function Signed-off-by: James Almer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=

[FFmpeg-cvslog] fftools/ffmpeg_filter: remove unused struct from InputFilterPriv

2024-03-25 Thread James Almer
ffmpeg | branch: master | James Almer | Sun Mar 24 10:32:11 2024 -0300| [767e7d3d2b44b14158220917253580baf98750df] | committer: James Almer fftools/ffmpeg_filter: remove unused struct from InputFilterPriv It's already in InputFilterOptions. Signed-off-by: James Almer > http://git.videolan.or

[FFmpeg-cvslog] avformat/mov: don't use cur_item_id as array index

2024-03-25 Thread James Almer
ffmpeg | branch: master | James Almer | Mon Mar 25 00:06:08 2024 -0300| [abcdd3aed7c9c1759fcd54b287b1f7a48067822f] | committer: James Almer avformat/mov: don't use cur_item_id as array index Reviewed-by: Michael Niedermayer Signed-off-by: James Almer > http://git.videolan.org/gitweb.cgi/ffmp

[FFmpeg-cvslog] avformat/jacosubdec: clarify code

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Oct 10 19:52:33 2023 +0200| [e83e8d443b5b86aabf17d1cfb7fba9abf15e24fd] | committer: Michael Niedermayer avformat/jacosubdec: clarify code add comments, rename variables and indent things differently Signed-off-by: Michael Niedermayer > htt

[FFmpeg-cvslog] avformat/concatdec: clip outpoint - inpoint overflow in get_best_effort_duration()

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Dec 26 03:51:23 2023 +0100| [dd733b2be472cea766c62984237533b239e9a93d] | committer: Michael Niedermayer avformat/concatdec: clip outpoint - inpoint overflow in get_best_effort_duration() An alternative would be to limit all time/duration fie

[FFmpeg-cvslog] avcodec/osq: avoid several signed integer overflows

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Dec 26 00:33:02 2023 +0100| [b54c9a9c8f44a9272dc0ee3c9f11ce54cba74008] | committer: Michael Niedermayer avcodec/osq: avoid several signed integer overflows Fixes: signed integer overflow: 178459578 + 2009763270 cannot be represented in type

[FFmpeg-cvslog] lavf/movenc: small cleanup for style

2024-03-25 Thread Jun Zhao
ffmpeg | branch: master | Jun Zhao | Thu Mar 21 10:31:13 2024 +0800| [5ebcca4e08bf6063b227a23d8e87e56bba52ff18] | committer: Jun Zhao lavf/movenc: small cleanup for style Small cleanup for style, indent, switch case lables. BTW, the preferred way to ease multiple indentation levels in a switch

[FFmpeg-cvslog] avformat/cafdec: Check that data chunk end fits within 64bit

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Sep 30 00:45:33 2023 +0200| [b792e4d4c772b7b5ef8ea32be187a871000e50c2] | committer: Michael Niedermayer avformat/cafdec: Check that data chunk end fits within 64bit Fixes: signed integer overflow: 64 + 9223372036854775803 cannot be represente

[FFmpeg-cvslog] avformat/iff: Saturate avio_tell() + 12

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Sep 30 00:56:06 2023 +0200| [b8e754525ca3d3fd835f7360e11f29b02b39cd62] | committer: Michael Niedermayer avformat/iff: Saturate avio_tell() + 12 Fixes: signed integer overflow: 9223372036854775796 + 12 cannot be represented in type 'long long

[FFmpeg-cvslog] avformat/dxa: Adjust order of operations around block align

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Sep 30 00:51:29 2023 +0200| [50d8e4f27398fd5778485a827d7a2817921f8540] | committer: Michael Niedermayer avformat/dxa: Adjust order of operations around block align Fixes: 51896/clusterfuzz-testcase-minimized-ffmpeg_dem_DXA_fuzzer-57305765231

[FFmpeg-cvslog] avformat/cafdec: dont seek beyond 64bit

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Sep 30 00:38:17 2023 +0200| [d973fcbcc2f944752ff10e6a76b0b2d9329937a7] | committer: Michael Niedermayer avformat/cafdec: dont seek beyond 64bit Fixes: signed integer overflow: 64 + 9223372036854775807 cannot be represented in type 'long long

[FFmpeg-cvslog] avformat/avidec: support huge durations

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Sep 30 00:27:14 2023 +0200| [d384af52261ff01ee35c05d46303d617de5305bb] | committer: Michael Niedermayer avformat/avidec: support huge durations Fixes: signed integer overflow: 109817402400 * 301990077 cannot be represented in type 'long long

[FFmpeg-cvslog] lavc/get_buffer: Add a warning on failed allocation from a fixed pool

2024-03-25 Thread Mark Thompson
ffmpeg | branch: master | Mark Thompson | Sun Mar 17 20:51:29 2024 +| [4743c9e87a629d6af53b508c6a36135590622c16] | committer: Mark Thompson lavc/get_buffer: Add a warning on failed allocation from a fixed pool For hardware cases where we are forced to have a fixed pool of frames allocated

[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Mar 20 03:51:05 2024 +0100| [c0f4abe2aa0117a10fb651f2c1c030d4cd516081] | committer: Michael Niedermayer avformat/id3v2: read_uslt() check for the amount read Fixes: timeout Fixes: 66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5

[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust RKA threshold up further

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Mar 20 03:39:01 2024 +0100| [b7cdaff7e23d547657ca9139dfae41e124e087b6] | committer: Michael Niedermayer tools/target_dec_fuzzer: Adjust RKA threshold up further Fixes: timeout Fixes: 66636/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RK

[FFmpeg-cvslog] avcodec/vmixdec: Check shift before use

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Mar 20 03:30:56 2024 +0100| [70b26b693e9e06bcd9fe83ee5063ee40e32ce02f] | committer: Michael Niedermayer avcodec/vmixdec: Check shift before use Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int' Fixes: 65909/clusterfuzz-tes

[FFmpeg-cvslog] avformat/mov: Check sample_count and auxiliary_info_default_size to be 0

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Mar 20 02:06:34 2024 +0100| [3c43299e9e642e73b31be7ac7c49700949946e13] | committer: Michael Niedermayer avformat/mov: Check sample_count and auxiliary_info_default_size to be 0 This combination causes 0 size arrays to be allocated and to leak

[FFmpeg-cvslog] avformat/wady: Check >0 samplerate and channels 1 || 2.

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Mar 19 23:24:11 2024 +0100| [6f9e90ab0bede36cc960a099e8f19998345e7164] | committer: Michael Niedermayer avformat/wady: Check >0 samplerate and channels 1 || 2. The WADY decoder only supports mono and stereo This fixes a probetest failure Si

[FFmpeg-cvslog] avutil/timestamp: introduce av_ts_make_time_string2 for better precision

2024-03-25 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Sun Mar 17 23:35:24 2024 +0100| [5df901ffa56e0ff225fcc129c751befeb3b4d0d0] | committer: Marton Balint avutil/timestamp: introduce av_ts_make_time_string2 for better precision av_ts_make_time_string() used "%.6g" format, but this format was losing preci

[FFmpeg-cvslog] avutil/timestamp: change precision of av_ts_make_time_string()

2024-03-25 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Sat Mar 23 03:12:16 2024 +0100| [8c936e9b437aaed0ca10f3ec2edebf06cad6a5b5] | committer: Marton Balint avutil/timestamp: change precision of av_ts_make_time_string() By calling the av_ts_make_time_string2() from the function we can fix the precision iss

[FFmpeg-cvslog] avutil/timestamp: change precision of av_ts_make_time_string()

2024-03-25 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Sat Mar 23 03:12:16 2024 +0100| [4be4b20a4feb33dc54356feedd85baf8ace4ddd5] | committer: Marton Balint avutil/timestamp: change precision of av_ts_make_time_string() By calling the av_ts_make_time_string2() from the function we can fix the precision iss

[FFmpeg-cvslog] avutil/timestamp: introduce av_ts_make_time_string2 for better precision

2024-03-25 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Sun Mar 17 23:35:24 2024 +0100| [ac8fefdbc418b4e71e6af9b5f0aab4dbc9e9311f] | committer: Marton Balint avutil/timestamp: introduce av_ts_make_time_string2 for better precision av_ts_make_time_string() used "%.6g" format, but this format was losing preci

[FFmpeg-cvslog] avcodec/x86/h264_idct: Fix incorrect xmm spilling on win64

2024-03-25 Thread Henrik Gramner
ffmpeg | branch: master | Henrik Gramner | Sun Mar 24 20:04:17 2024 +0100| [7c003b63c85aadf57ca10be849bd9895a4eeeb87] | committer: Henrik Gramner avcodec/x86/h264_idct: Fix incorrect xmm spilling on win64 Broken in afa471d0efed1df5dca6eeeb2fcdd211ae4cad4e. It just happened to work before due t

[FFmpeg-cvslog] avformat/mov_chan: Use anonymous enum

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Mar 25 15:50:54 2024 +0100| [316239096b15ed193056aada1555e84cce402b3a] | committer: Andreas Rheinhardt avformat/mov_chan: Use anonymous enum Fixes many -Wenum-conversion warnings with Clang caused by e6c2c8703732bc46395c65c530038c8146df0deb. S

[FFmpeg-cvslog] fate/source: Fix FATE reference file

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Mar 25 15:17:17 2024 +0100| [a8255aa357fd8944ddc1393b12247201b6ecb5fe] | committer: Andreas Rheinhardt fate/source: Fix FATE reference file Forgotten in ecdc94b97f809d5f2b88640842fd0541951ad295. Signed-off-by: Andreas Rheinhardt > http://gi

[FFmpeg-cvslog] avutil/channel_layout: don't clear the opaque pointer on type conversion

2024-03-25 Thread James Almer
ffmpeg | branch: master | James Almer | Fri Mar 22 13:00:46 2024 -0300| [65a04cae6ff89e8543e83e83533760b9c1b57b68] | committer: James Almer avutil/channel_layout: don't clear the opaque pointer on type conversion Otherwise it would not be lossless. Signed-off-by: James Almer > http://git.vid

[FFmpeg-cvslog] avutil/hwcontext_qsv: Fix mixed declaration and code

2024-03-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Mar 24 21:29:44 2024 +0100| [1f1b773859a6f1491b1fa9f310a97ee038755263] | committer: Andreas Rheinhardt avutil/hwcontext_qsv: Fix mixed declaration and code Reviewed-by: Xiang, Haihao Signed-off-by: Andreas Rheinhardt > http://git.videolan.o

[FFmpeg-cvslog] vulkan_av1: port to the new stable API

2024-03-25 Thread Lynne
ffmpeg | branch: master | Lynne | Fri Jan 19 10:49:02 2024 +1000| [ecdc94b97f809d5f2b88640842fd0541951ad295] | committer: Lynne vulkan_av1: port to the new stable API Co-Authored-by: Dave Airlie > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ecdc94b97f809d5f2b88640842fd0541951ad2

[FFmpeg-cvslog] av1dec: add AV1_REF_FRAME_NONE

2024-03-25 Thread Lynne
ffmpeg | branch: master | Lynne | Sun Mar 17 19:31:17 2024 +0100| [998aa66a10546be207d5dfc1a4a76bc2ce9ea07c] | committer: Lynne av1dec: add AV1_REF_FRAME_NONE > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=998aa66a10546be207d5dfc1a4a76bc2ce9ea07c --- libavcodec/av1.h

[FFmpeg-cvslog] lavc/cbs_av1: Save more frame ordering information

2024-03-25 Thread Mark Thompson
ffmpeg | branch: master | Mark Thompson | Wed Mar 20 20:35:28 2024 +| [cafb4c554845332eeb33284cf6498049997dc67e] | committer: Lynne lavc/cbs_av1: Save more frame ordering information This is wanted by the Vulkan decoder. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cafb4c554