[FFmpeg-trac] #10985(avcodec:new): Divide by zero in libavcodec/dovi_rpuenc.c:251
FFmpeg
trac at avcodec.org
Tue Apr 30 02:01:53 EEST 2024
#10985: Divide by zero in libavcodec/dovi_rpuenc.c:251
-------------------------------------+-------------------------------------
Reporter: Levon | Type: defect
Gevorgyan |
Status: new | Priority: important
Component: avcodec | Version: git-
Keywords: dolby_e | master
libsvtav1 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
% ffmpeg -i "fail.mkv" -y -pix_fmt yuv420p10le \
-c:V libsvtav1 -dolbyvision 1 "av1_fail.mkv"
libsvtav1 Cmake flags
-DCMAKE_BUILD_TYPE=Release -DSVT_AV1_LTO=ON \
-DENABLE_AVX512=ON -DBUILD_TESTING=OFF \
-DCOVERAGE=OFF \
-DCMAKE_C_FLAGS="-O3 -march=native" \
-DCMAKE_CXX_FLAGS="-O3 -march=native"
ffmpeg configure flags
ffmpeg version git-2024-04-29-08781eb
built with gcc 12 (Debian 12.2.0-14)
configuration: --enable-libsvtav1 --enable-librav1e \
--enable-libaom --enable-libvmaf --enable-libdav1d \
--enable-libopus --arch=x86_64 --cpu=native --enable-lto \
--extra-cflags='-O3 -march=native' --extra-cxxflags='-O3
-march=native' \
--disable-doc --disable-htmlpages --disable-podpages --disable-
txtpages
}}}
This results in a crash of ffmpeg due to divide by zero.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10985>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list