[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

[FFmpeg-devel] [PATCH] avcodec/speexdec: fix decoding regressions

2024-11-07 Thread shenleban tongying
* fix ticket #11054 and #11078 * reduce false decoding errors * fix wrong frame_size Co-authored-by: Paul B Mahol Signed-off-by: shenleban tongying --- libavcodec/speexdec.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavcodec/speexdec.c b/libavcodec

[FFmpeg-devel] [PATCH] avcodec/speexdec: fix decoding regressions

2024-11-07 Thread shenleban tongying
fix ticket #11054 and #11078 * reduce false decoding errors * fix wrong frame_size Co-authored-by: Paul B Mahol Signed-off-by: shenleban tongying --- libavcodec/speexdec.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavcodec/speexdec.c b/libavcodec