Builder ffmpeg64-solaris10-i386 Build #14091
Results:
Failed
SourceStamp:
| Project | ffmpeg |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Branch | master |
| Revision | 1de77bb8987e2c7364302c91b9f13958e419124e |
| Changes | 3 changes |
BuildSlave:
unstable10xReason:
The SingleBranchScheduler scheduler named 'schedule-ffmpeg64-solaris10-i386' triggered this build
Steps and Logfiles:
Build Properties:
| Name | Value | Source |
|---|---|---|
| branch | master | Build |
| builddir | /export/home/buildbot/slave/ffmpeg64-solaris10-i386 | slave |
| buildername | ffmpeg64-solaris10-i386 | Builder |
| buildnumber | 14091 | Build |
| codebase | Build | |
| project | ffmpeg | Build |
| repository | https://git.ffmpeg.org/ffmpeg.git | Build |
| revision | 1de77bb8987e2c7364302c91b9f13958e419124e | Build |
| scheduler | schedule-ffmpeg64-solaris10-i386 | Scheduler |
| slavename | unstable10x | BuildSlave |
| workdir | /export/home/buildbot/slave/ffmpeg64-solaris10-i386 | slave (deprecated) |
Forced Build Properties:
| Name | Label | Value |
|---|
Responsible Users:
- Jun Zhaobarryjzhao@tencent.com
Timing:
| Start | Tue Sep 8 05:45:29 2026 |
| End | Tue Sep 8 05:45:40 2026 |
| Elapsed | 10 secs |
All Changes:
:
Change #281036
Category ffmpeg Changed by Jun Zhao <barryjzhao@tencent.com> Changed at Tue 08 Sep 2026 07:00:37 Repository https://git.ffmpeg.org/ffmpeg.git Project ffmpeg Branch master Revision fd6dc624be1eaf447569df270eb0d8ac5e3d7518 Comments
avformat: Restore the container channel layout after a failed decoder open avformat_find_stream_info() copies codec parameters from the decoder context after probing, including when avcodec_open2() has already failed. A failed avcodec_open2() zeroes the context channel layout via ff_codec_close() -> av_opt_free(), because ch_layout is an AV_OPT_TYPE_CHLAYOUT option. That empty layout is then written back onto codecpar and replaces the value the demuxer had already set from the container. This is reachable for codecs such as adpcm_psx that have no parser and do not set AVSTREAM_PARSE_*: the only source of the channel count is the demuxer header. It differs from codecs like mp3, where the decoder is expected to fill the layout. Restore the container channel layout when it was specified and the decoder result is unspecified, matching the existing restore of color metadata in parameters_from_context(). See also: https://ffmpeg.org/pipermail/ffmpeg-devel/2024-November/335598.html Fixes: #24290 Fixes: https://issues.oss-fuzz.com/issues/42536474 Reported-by: Darío Clavijo Found-by: OSS-Fuzz Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Changed files
- libavformat/demux.c
Change #281037
Category ffmpeg Changed by Jun Zhao <barryjzhao@tencent.com> Changed at Tue 08 Sep 2026 07:00:37 Repository https://git.ffmpeg.org/ffmpeg.git Project ffmpeg Branch master Revision 780f6efbcf6ea4f044055eec32d533eeaf0bc58c Comments
avformat/vpk: Check the channel count before dividing in the last block vpk_read_packet() divides last_block_size and block_align by codecpar->ch_layout.nb_channels when assembling the last interleaved block. Header parsing already rejects a non-positive channel count, but a failed avcodec_open2() can later zero the layout through ff_codec_close() -> av_opt_free(), so the division is reached with a zero divisor. Check the channel count again before dividing and return AVERROR_INVALIDDATA. Original-patch-by: Kacper Michajłow <kasper93@gmail.com> Fixes: #24290 Reported-by: Darío Clavijo Found-by: OSS-Fuzz Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Changed files
- libavformat/vpk.c
Change #281038
Category ffmpeg Changed by Jun Zhao <barryjzhao@tencent.com> Changed at Tue 08 Sep 2026 07:00:37 Repository https://git.ffmpeg.org/ffmpeg.git Project ffmpeg Branch master Revision 1de77bb8987e2c7364302c91b9f13958e419124e Comments
tests/fate: Add a VPK regression test for a zeroed channel layout Generate the 21-byte sample from issue #24290 and copy it with ffmpeg. avformat_find_stream_info() must keep the container channel count at 80 instead of replacing it with 0 after adpcm_psx fails to open; the decoder cannot be opened, so ffprobe -show_entries is not usable here. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Changed files
- tests/fate/demux.mak