Re: [FFmpeg-devel] [PATCH v2] avformat/riffdec: warn on invalid sample rate

2025-01-30 Thread Viraaj Raulgaonkar
Hi Marton, On Mon, Jan 27, 2025 at 1:25 AM Marton Balint wrote: > > > > On Sun, 26 Jan 2025, Viraaj Raulgaonkar wrote: > > > Instead of returning an error for invalid sample rates, warn the user > > and set sample_rate to INT_MAX. This allows the sample rate to be > > decoded in certain cases. >

Re: [FFmpeg-devel] [PATCH v2] avformat/riffdec: warn on invalid sample rate

2025-01-26 Thread Marton Balint
On Sun, 26 Jan 2025, Viraaj Raulgaonkar wrote: Instead of returning an error for invalid sample rates, warn the user and set sample_rate to INT_MAX. This allows the sample rate to be decoded in certain cases. Fixes Trac Ticket #11361. --- libavformat/riffdec.c | 4 ++-- 1 file changed, 2 inse