[FFmpeg-devel] [PATCH 2/2] checkasm/aacencdsp: initialize AAC tables

Rémi Denis-Courmont remi at remlab.net
Sat Nov 16 16:50:15 EET 2024


Le lauantaina 16. marraskuuta 2024, 16.39.29 EET James Almer a écrit :
> > This a large proportion of values to underflow or overflow out of the int
> > range. The C version then triggers Undefined Behaviour in that case by
> > negating INT_MIN, so I don't suppose that that's correct.
> 
> So is the C version broken, or this test's randomized values?

The C code ostensibly does not expect those values, but regardless I don't 
know if they can be triggered or not.

So I don't know if it's a bug in this patch, a bug in the C code or both.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the ffmpeg-devel mailing list