[FFmpeg-devel] [PATCH 9/9] avcodec/r210enc: Use av_rescale for bitrate

Michael Niedermayer michael at niedermayer.cc
Tue Jun 25 22:54:22 EEST 2024


On Mon, Jun 17, 2024 at 01:08:31AM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 281612954574848 * 65344 cannot be represented in type 'long'
> Fixes: 68956/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_R210_fuzzer-6459074458746880
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/r210enc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240625/57bfa716/attachment.sig>


More information about the ffmpeg-devel mailing list