[FFmpeg-cvslog] avformat/mp3dec: only call ffio_ensure_seekback once

2024-05-20 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Sat May 11 22:54:24 2024 +0200| [b0053172199b54a806a4147cda8567a2f1823bc0] | committer: Marton Balint avformat/mp3dec: only call ffio_ensure_seekback once Otherwise the subsequent ffio_ensure_seekback calls destroy the buffer of the earlier. The worst

[FFmpeg-cvslog] avformat/mp3dec: change bogus error message if read_header encounters EOF

2024-05-20 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Sun May 12 19:26:24 2024 +0200| [49e018d6fee689af6b30b773d83f545d74b8d9aa] | committer: Marton Balint avformat/mp3dec: change bogus error message if read_header encounters EOF Because of ffio_ensure_seekback() a seek error normally should only happen i

[FFmpeg-cvslog] avformat/mp3dec: simplify inner frame size check in mp3_read_header

2024-05-20 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Sun May 12 19:10:18 2024 +0200| [b75e604fe5cd7da9ca713f20d1ade18d50319aff] | committer: Marton Balint avformat/mp3dec: simplify inner frame size check in mp3_read_header We are protecting the checked buffer with ffio_ensure_seekback(), so if the inner

[FFmpeg-cvslog] avcodec/cbs_h266: read vps_ptl_max_tid before using it

2024-05-20 Thread James Almer
ffmpeg | branch: release/7.0 | James Almer | Sun May 19 10:26:38 2024 -0300| [060d2ce8aed1a0ad37264c90bfce6738dc49511d] | committer: James Almer avcodec/cbs_h266: read vps_ptl_max_tid before using it Reviewed-by: Nuo Mi Signed-off-by: James Almer (cherry picked from commit b113050d96d9d36ac2

[FFmpeg-cvslog] avcodec/cbs_h266: fix sh_collocated_from_l0_flag and sh_collocated_ref_idx infer

2024-05-20 Thread Nuo Mi
ffmpeg | branch: release/7.0 | Nuo Mi | Wed Mar 27 21:00:58 2024 +0800| [00ccb7be2948929daa63978b6890e252b9161ba7] | committer: James Almer avcodec/cbs_h266: fix sh_collocated_from_l0_flag and sh_collocated_ref_idx infer we have to infer sh_collocated_from_l0_flag and sh_collocated_ref_idx fro

[FFmpeg-cvslog] avformat/vvc: fix writing general_constraint_info bytes

2024-05-20 Thread James Almer
ffmpeg | branch: release/7.0 | James Almer | Thu May 16 11:55:00 2024 -0300| [5f23eecfba603402e3e3f7f31b1d284df9d4e962] | committer: James Almer avformat/vvc: fix writing general_constraint_info bytes The existing implementation was completely broken. Signed-off-by: James Almer (cherry picke

[FFmpeg-cvslog] avformat/vvc: fix parsing some early VPS bitstream values

2024-05-20 Thread James Almer
ffmpeg | branch: release/7.0 | James Almer | Fri May 17 16:23:41 2024 -0300| [a8b8b1042f9959416c8b08d3099a8e9bb6407deb] | committer: James Almer avformat/vvc: fix parsing some early VPS bitstream values vps_default_ptl_dpb_hrd_max_tid_flag needs to always be set, and vps_direct_ref_layer_flag

[FFmpeg-cvslog] libavformat/rtsp: fix a memory leak on error path

2024-05-20 Thread LuMingYin
ffmpeg | branch: master | LuMingYin | Sat Apr 13 12:20:11 2024 +0800| [14f9e47314ab70a2c786cb040ca0ca2fc1a0e163] | committer: Zhao Zhili libavformat/rtsp: fix a memory leak on error path Signed-off-by: LuMingYin Signed-off-by: Zhao Zhili > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=co

[FFmpeg-cvslog] libavfilter/vf_curves: fix a memory leak on error path

2024-05-20 Thread LuMingYin
ffmpeg | branch: master | LuMingYin | Sat Apr 13 11:57:00 2024 +0800| [3f691c0c6a8cbb293740df4f3bba06a8f5d5fba5] | committer: Zhao Zhili libavfilter/vf_curves: fix a memory leak on error path Signed-off-by: LuMingYin Signed-off-by: Zhao Zhili > http://git.videolan.org/gitweb.cgi/ffmpeg.git/

[FFmpeg-cvslog] libavformat/hlsenc: fix a memory leak on error path

2024-05-20 Thread LuMingYin
ffmpeg | branch: master | LuMingYin | Sat Apr 13 14:35:29 2024 +0800| [9481b7d932e895b903c260c54c7b26adfe402e1f] | committer: Zhao Zhili libavformat/hlsenc: fix a memory leak on error path Signed-off-by: LuMingYin Reviewed-by: Steven Liu Signed-off-by: Zhao Zhili > http://git.videolan.org/

[FFmpeg-cvslog] avcodec/cbs_h266: read vps_ptl_max_tid before using it

2024-05-20 Thread James Almer
ffmpeg | branch: master | James Almer | Sun May 19 10:26:38 2024 -0300| [b113050d96d9d36ac2e7f10b3af8b9c61684c33f] | committer: James Almer avcodec/cbs_h266: read vps_ptl_max_tid before using it Reviewed-by: Nuo Mi Signed-off-by: James Almer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a

[FFmpeg-cvslog] avfilter/vf_v360: Add assert to suppress Coverity false positives

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 23:05:19 2024 +0200| [0d7430d3ab9a818e14f99176dc7fe55860b184a1] | committer: Andreas Rheinhardt avfilter/vf_v360: Add assert to suppress Coverity false positives Should fix many Coverity false positives, namely #1457947-#1457994 as well

[FFmpeg-cvslog] fftools/ffmpeg_filter: Fix leak on error

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 20:46:36 2024 +0200| [62929f40ee7ce1eb2c4b178b98557b7c73f8bc47] | committer: Andreas Rheinhardt fftools/ffmpeg_filter: Fix leak on error Do this by attaching the FilterGraph directly to more permanent storage from which it will be autom

[FFmpeg-cvslog] avformat/flacdec: Reorder allocations to avoid leak on error

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 20:12:18 2024 +0200| [b50c5d02900363c17560cf79e2af0ca3073ee81a] | committer: Andreas Rheinhardt avformat/flacdec: Reorder allocations to avoid leak on error Fixes Coverity issue #1591795. Signed-off-by: Andreas Rheinhardt > http://gi

[FFmpeg-cvslog] avcodec/tiff: Fix leak on error

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 21:49:04 2024 +0200| [2c94b1bbf101200c13293130cf86c9be9c397885] | committer: Andreas Rheinhardt avcodec/tiff: Fix leak on error Fixes Coverity issue #1516957. Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffm

[FFmpeg-cvslog] avcodec/ac3enc_template: Avoid always-true check

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 18:51:55 2024 +0200| [e863cbceaeb88082e716dd3b770ed9dfc35ad9e3] | committer: Andreas Rheinhardt avcodec/ac3enc_template: Avoid always-true check This might also help Coverity with issue #1596532. Signed-off-by: Andreas Rheinhardt > h

[FFmpeg-cvslog] avcodec/ac3enc: Move transient PutBitContext to stack

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 19:21:34 2024 +0200| [59b1838e0955bb092ebc9d6e9f8aa7d8753d4d33] | committer: Andreas Rheinhardt avcodec/ac3enc: Move transient PutBitContext to stack Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a

[FFmpeg-cvslog] avcodec/lib*, avformat/tee: Simplify iterating over AVDictionary

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 17:02:47 2024 +0200| [482afe8f3f7b9ea17521371c53e9d783be95020a] | committer: Andreas Rheinhardt avcodec/lib*, avformat/tee: Simplify iterating over AVDictionary Reviewed-by: epira...@gmail.com Signed-off-by: Andreas Rheinhardt > http:

[FFmpeg-cvslog] fftools, avfilter, avformat: Simplify check for "is dictionary empty?"

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 17:04:50 2024 +0200| [f3d206d25ffdb02ba30b9bf37720f94819f9be3e] | committer: Andreas Rheinhardt fftools, avfilter, avformat: Simplify check for "is dictionary empty?" Reviewed-by: epira...@gmail.com Signed-off-by: Andreas Rheinhardt >

[FFmpeg-cvslog] avformat/tls_openssl: #if ff_openssl_init/deinit() away if possible

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 15:09:00 2024 +0200| [583c3d45fab6ed9aecd96f6c5ce02a789ca13e2c] | committer: Andreas Rheinhardt avformat/tls_openssl: #if ff_openssl_init/deinit() away if possible These functions do nothing useful when used with a non-ancient version o

[FFmpeg-cvslog] avformat/tee: Use smaller scope for variables

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 15:41:38 2024 +0200| [ce22e7ab289abfd8923de1d9d64d84e4226a318e] | committer: Andreas Rheinhardt avformat/tee: Use smaller scope for variables Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;

[FFmpeg-cvslog] avformat/tee: Constify AVDictionaryEntry* pointee where possible

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 15:32:05 2024 +0200| [26f3e79114660de079bc9d784070d70b64e18ee5] | committer: Andreas Rheinhardt avformat/tee: Constify AVDictionaryEntry* pointee where possible This is in preparation for using av_dict_iterate(). Signed-off-by: Andreas

[FFmpeg-cvslog] avformat/utils: Use static mutexes instead of ff_lock_avformat()

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 17 14:53:33 2024 +0200| [8b48b0adab0d9ad7655eb7746253061edeea58ae] | committer: Andreas Rheinhardt avformat/utils: Use static mutexes instead of ff_lock_avformat() Its existence is a remnant of (libavcodec's) lock-manager API which has bee

[FFmpeg-cvslog] avcodec/adts_header: Add ff_adts_header_parse_buf()

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu May 9 16:09:53 2024 +0200| [12ded9cd85be60d9622c438d9a8cfc099028c960] | committer: Andreas Rheinhardt avcodec/adts_header: Add ff_adts_header_parse_buf() Most users of ff_adts_header_parse() don't already have an opened GetBitContext for the

[FFmpeg-cvslog] avcodec/aac_ac3_parser: Use ff_adts_header_parse_buf()

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu May 9 16:30:11 2024 +0200| [a2874c5721eb0913575ee9199df45048d9dd87ae] | committer: Andreas Rheinhardt avcodec/aac_ac3_parser: Use ff_adts_header_parse_buf() instead of avpriv_adts_header_parse(). Using the former avoids an indirection. Signe

[FFmpeg-cvslog] avcodec/aac_ac3_parser: Untangle AAC and AC3 parsing error codes

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jul 6 23:35:11 2023 +0200| [ae937c49027fab3b5f34397e04ee7aa22d9ae40f] | committer: Andreas Rheinhardt avcodec/aac_ac3_parser: Untangle AAC and AC3 parsing error codes Also remove the (unused) AAC_AC3_PARSE_ERROR_CHANNEL_CFG while at it; furth

[FFmpeg-cvslog] avcodec/adts_parser: Don't presume buffer to be padded

2024-05-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu May 9 15:09:41 2024 +0200| [6c812a80ddfadb3e69018971a2e92ace5326db36] | committer: Andreas Rheinhardt avcodec/adts_parser: Don't presume buffer to be padded The documentation of av_adts_header_parse() does not require the buffer to be padded