[FFmpeg-cvslog] avutil/hwcontext_videotoolbox: Fix build with older SDKs

2024-07-16 Thread Marvin Scholz
ffmpeg | branch: master | Marvin Scholz | Tue Jul 9 16:46:47 2024 +0200| [2fc37c42391a38bfe0aea248f2fe75c9033f98e5] | committer: Zhao Zhili avutil/hwcontext_videotoolbox: Fix build with older SDKs I've accidentally used API not available on the checked version. Additionally check for the SDK

[FFmpeg-cvslog] avcodec/videotoolboxenc: Don't ignore ENOMEM

2024-07-16 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Sun Jul 7 18:21:30 2024 +0800| [2eae57c8627bc7e8e767558606c9df46852be751] | committer: Zhao Zhili avcodec/videotoolboxenc: Don't ignore ENOMEM Signed-off-by: Zhao Zhili > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2eae57c8627bc7e8e767558

[FFmpeg-cvslog] avcodec/videotoolboxenc: Remove unused variable

2024-07-16 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Sun Jul 7 18:21:31 2024 +0800| [4a3625859bb4b629a887a618a7ad954345c1be8e] | committer: Zhao Zhili avcodec/videotoolboxenc: Remove unused variable Signed-off-by: Zhao Zhili > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4a3625859bb4b629a887

[FFmpeg-cvslog] avcodec/videotoolboxenc: Use BufNode as sourceFrameRefcon

2024-07-16 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Sun Jul 7 18:21:32 2024 +0800| [0e338c4114578a5c68f931f5d6ecac6adba85f7c] | committer: Zhao Zhili avcodec/videotoolboxenc: Use BufNode as sourceFrameRefcon ExtraSEI is used as the sourceFrameRefcon of VTCompressionSessionEncodeFrame. It cannot hold other

[FFmpeg-cvslog] avcodec/videotoolboxenc: Fix concurrent access to CVPixelBufferRef

2024-07-16 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Sun Jul 7 18:21:33 2024 +0800| [2fca8e400ed8213fb44b4e2c0165d435fa98d9b6] | committer: Zhao Zhili avcodec/videotoolboxenc: Fix concurrent access to CVPixelBufferRef For a frame comes from AV_HWDEVICE_TYPE_VIDEOTOOLBOX, it's CVPixelBufferRef is maintained

[FFmpeg-cvslog] avcodec/videotoolboxenc: Put ExtraSEI inside BufNode directly

2024-07-16 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Sun Jul 7 18:21:34 2024 +0800| [635f7c0f6c9400e83f2d6f76ea7940fe82d8b612] | committer: Zhao Zhili avcodec/videotoolboxenc: Put ExtraSEI inside BufNode directly Reduce error path and simplify the code. Signed-off-by: Zhao Zhili > http://git.videolan.or

[FFmpeg-cvslog] lavc/h264dsp: R-V V add_pixels4 and 8-bit add_pixels8

2024-07-16 Thread Rémi Denis-Courmont
ffmpeg | branch: master | Rémi Denis-Courmont | Sat Jul 13 15:43:27 2024 +0300| [7744c08240808c8517a9c088b465c15235a34c86] | committer: Rémi Denis-Courmont lavc/h264dsp: R-V V add_pixels4 and 8-bit add_pixels8 T-Head C908 (cycles): h264_add_pixels4_8bpp_c:93.5 h264_add_pixels4_8bpp_rvv

[FFmpeg-cvslog] lavc/h264dsp: R-V V high-depth add_pixels8

2024-07-16 Thread Rémi Denis-Courmont
ffmpeg | branch: master | Rémi Denis-Courmont | Sat Jul 13 16:01:14 2024 +0300| [3002310b707071ec7aa671ab7428feed5ee9740c] | committer: Rémi Denis-Courmont lavc/h264dsp: R-V V high-depth add_pixels8 T-Head C908 (cycles); h264_add_pixels8_9bpp_c:270.5 h264_add_pixels8_9bpp_rvv_i32: 164

[FFmpeg-cvslog] avutil/file_open: Fix build error with wasi

2024-07-16 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Sun Jun 30 18:33:18 2024 +0800| [e713a2d85dad51705a892243170dfbe929b6515a] | committer: Zhao Zhili avutil/file_open: Fix build error with wasi Don't assume tempnam is available when !HAVE_MKSTEMP. Check tempnam explicitly in configure. Signed-off-by: Zha

[FFmpeg-cvslog] configure: Fix Apple framework dependencies in .pc file

2024-07-16 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Fri Jun 28 12:46:00 2024 +0800| [8ca60e14d2006928220ab7bcc58758ce43532eb2] | committer: Zhao Zhili configure: Fix Apple framework dependencies in .pc file configure use "-Wl,-framework,foo" and "-framework foo" to specify dependencies on Apple frameworks.

[FFmpeg-cvslog] avformat/file: guard fd_dup by FD_PROTOCOL or PIPE_PROTOCOL

2024-07-16 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Sun Jun 30 18:33:19 2024 +0800| [cb9c98da16e8412046835ebc0d167a4e09909df0] | committer: Zhao Zhili avformat/file: guard fd_dup by FD_PROTOCOL or PIPE_PROTOCOL fd_dup is unused when fd and pipe have been disabled. This also fix build error with wasi since

[FFmpeg-cvslog] avcodec/vc2enc: Fix overflows with storing large values

2024-07-16 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon Jun 17 22:43:22 2024 +0200| [af9935835335cae1ae5a4ec7fc14c1b5e25c1f2d] | committer: Michael Niedermayer avcodec/vc2enc: Fix overflows with storing large values Fixes: left shift of 1431634944 by 2 places cannot be represented in type 'int' Fi

[FFmpeg-cvslog] avcodec/ratecontrol: Handle wanted bits overflow

2024-07-16 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon Jun 17 19:26:08 2024 +0200| [7147c3c911f4ebf5bd1c2123d8f78c6541ea] | committer: Michael Niedermayer avcodec/ratecontrol: Handle wanted bits overflow Fixes: 5.92611e+20 is outside the range of representable values of type 'unsigned long'

[FFmpeg-cvslog] avformat/iamf_parse: keep substream count consistent

2024-07-16 Thread James Almer
ffmpeg | branch: master | James Almer | Sun Jun 23 23:27:29 2024 +0200| [b248dace929e97b10de17663caab32fbb1c42f0f] | committer: Michael Niedermayer avformat/iamf_parse: keep substream count consistent Fixes: member access within null pointer of type 'IAMFSubStream' (aka 'struct IAMFSubStream'

[FFmpeg-cvslog] avcodec/mscc: move frame allocates to later

2024-07-16 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Mar 20 23:48:24 2024 +0100| [664fbfb9ac55b1714aa4a9804007617393ac7783] | committer: Michael Niedermayer avcodec/mscc: move frame allocates to later Fixes: Timeout Fixes: 66964/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SRGC_fuzzer-541

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

2024-07-16 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Jun 22 00:05:15 2024 +0200| [8a4e5e0e15fcc950edc2f4eba928b299811a212f] | committer: Michael Niedermayer tools/target_dec_fuzzer: Adjust threshold for RV30 Fixes: Timeout Fixes: 69216/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV30_fuz

[FFmpeg-cvslog] avcodec/j2kenc: Merge dwt_norm into lambda

2024-07-16 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jun 19 20:58:05 2024 +0200| [a84fbd747119841942c67d2f55cc796ab25cd245] | committer: Michael Niedermayer avcodec/j2kenc: Merge dwt_norm into lambda This moves computations out of a loop This may help with UB in vsynth*-jpeg2000-yuva444p16 Fi

[FFmpeg-cvslog] avcodec/utvideoenc: Use unsigned shift to build flags

2024-07-16 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jun 19 23:55:01 2024 +0200| [69e90491f15d8eef643f8dfd1b75805829496678] | committer: Michael Niedermayer avcodec/utvideoenc: Use unsigned shift to build flags Fixes: left shift of 255 by 24 places cannot be represented in type 'int' Fixes: 69

[FFmpeg-cvslog] avcodec/mpeg12enc: Use av_rescale() in vbv_buffer_size computation

2024-07-16 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Thu Jun 20 00:05:12 2024 +0200| [0993ef675f06042402a97b08a60155c65dae8ba7] | committer: Michael Niedermayer avcodec/mpeg12enc: Use av_rescale() in vbv_buffer_size computation Fixes: signed integer overflow: 20 * 2314885530818453759 cannot be repr