On 3/29/2025 6:46 PM, Michael Niedermayer wrote:
> Hi Tristan
> 
> On Thu, Mar 13, 2025 at 02:54:48PM -0400, Tristan Matthews wrote:
>> This matches how the libspeex decoder is calculating frame size (except in clamp form).
>>
>> Fixes #11495
>> ---
>>   libavcodec/speexdec.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> I belive this is a regression since ab39cc36c72bb73318bb911acb66873de850a107
> also james  did multiple fixes to this piece of code afterwards
> maybe james can comment

It may also fix #11054, and if it doesn't regress what that patch fixed 
(namely, vp5/potter512-400-partial.avi parsing) or reintroduces #11078, 
then LGTM.