Re: [FFmpeg-devel] [PATCH] avcodec/speexdec: limit max frame_size

2025-01-28 Thread slbtty
Still not 100% certain about the reason, but this works for both #11054 and #11078. The max value of s->mode is 2 which means ultra wide band? --- libavcodec/speexdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/speexdec.c b/libavcodec/speexdec.c index d25

Re: [FFmpeg-devel] [PATCH] avcodec/speexdec: limit max frame_size

2025-01-28 Thread slbtty
Correction: this fix the sample from #11054 but not #11078. Still trying to figure out why. > On Jan 28, 2025, at 8:21 PM, shenleban tongying > wrote: > > The max frame_size for speex format is 32000 Hz * 20 ms / 1000 ms = 640 > > close #11054 and #11078 > > Signed-off-by: shenleban tongyin

[FFmpeg-devel] [PATCH] avcodec/speexdec: limit max frame_size

2025-01-28 Thread shenleban tongying
The max frame_size for speex format is 32000 Hz * 20 ms / 1000 ms = 640 close #11054 and #11078 Signed-off-by: shenleban tongying --- libavcodec/speexdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/speexdec.c b/libavcodec/speexdec.c index d25823ef6e..555012a34